23 lines
		
	
	
	
		
			497 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			497 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package net.minecraft.server.packs.linkfs;
 | |
| 
 | |
| import java.nio.file.Path;
 | |
| import java.util.Map;
 | |
| 
 | |
| interface PathContents {
 | |
| 	PathContents MISSING = new PathContents() {
 | |
| 		public String toString() {
 | |
| 			return "empty";
 | |
| 		}
 | |
| 	};
 | |
| 	PathContents RELATIVE = new PathContents() {
 | |
| 		public String toString() {
 | |
| 			return "relative";
 | |
| 		}
 | |
| 	};
 | |
| 
 | |
| 	public record DirectoryContents(Map<String, LinkFSPath> children) implements PathContents {
 | |
| 	}
 | |
| 
 | |
| 	public record FileContents(Path contents) implements PathContents {
 | |
| 	}
 | |
| }
 |