38 lines
		
	
	
	
		
			682 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			682 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package net.minecraft.server.packs.linkfs;
 | |
| 
 | |
| import java.nio.file.attribute.BasicFileAttributes;
 | |
| import java.nio.file.attribute.FileTime;
 | |
| import org.jetbrains.annotations.Nullable;
 | |
| 
 | |
| abstract class DummyFileAttributes implements BasicFileAttributes {
 | |
| 	private static final FileTime EPOCH = FileTime.fromMillis(0L);
 | |
| 
 | |
| 	public FileTime lastModifiedTime() {
 | |
| 		return EPOCH;
 | |
| 	}
 | |
| 
 | |
| 	public FileTime lastAccessTime() {
 | |
| 		return EPOCH;
 | |
| 	}
 | |
| 
 | |
| 	public FileTime creationTime() {
 | |
| 		return EPOCH;
 | |
| 	}
 | |
| 
 | |
| 	public boolean isSymbolicLink() {
 | |
| 		return false;
 | |
| 	}
 | |
| 
 | |
| 	public boolean isOther() {
 | |
| 		return false;
 | |
| 	}
 | |
| 
 | |
| 	public long size() {
 | |
| 		return 0L;
 | |
| 	}
 | |
| 
 | |
| 	@Nullable
 | |
| 	public Object fileKey() {
 | |
| 		return null;
 | |
| 	}
 | |
| }
 |