net.minecraft.util.path

public class SymlinkFinder

net.minecraft.world.level.validation.DirectoryValidator
net.minecraft.class_8580
net.minecraft.util.path.SymlinkFinder

Field summary

Modifier and TypeField
private static final int
FILE_ATTRIBUTE_REPARSE_POINT
field_1_11922
WINDOWS_FILE_ATTRIBUTE_REPARSE_POINT
private static final boolean
IS_WINDOWS
field_1_11923
IS_WINDOWS
private final PathMatcher
symlinkTargetAllowList
field_44955
matcher

Constructor summary

ModifierConstructor
public (PathMatcher matcher)

Method summary

Modifier and TypeMethod
public Path
validateAndResolveLink(Path path)
method_1_11631(Path arg0)
resolve(Path path)
public Path
validateAndResolveLink(Path path, BasicFileAttributes attributes)
method_1_11632(Path arg0, BasicFileAttributes arg1)
resolve(Path path, BasicFileAttributes attributes)
public void
validateDirectory(Path directory, boolean allowTopSymlink)
method_52243(Path arg0, boolean arg1)
collect(Path path, boolean resolveSymlink)
public void
validateKnownDirectory(Path directory)
method_52619(Path arg0)
validateRecursively(Path root)