net.minecraft.datafixer.file.cowfs

public class CowFs

extends FileSystem

net.minecraft.util.filefix.virtualfilesystem.CopyOnWriteFileSystem
net.minecraft.class_1_270
net.minecraft.datafixer.file.cowfs.CowFs

Field summary

Modifier and TypeField
private static final Set<String>
FILE_ATTRIBUTE_VIEWS
field_1_1655
SUPPORTED_ATTRIBUTES
private static final org.slf4j.Logger
LOGGER
field_1_1656
LOGGER
private final CowFsFileStore
store
field_1_1662
fileStore
private final CowFsProvider
provider
field_1_1660
provider
private final Path
baseDirectory
field_1_1658
root
private final PathMatcher
skippedPaths
field_1_2012
pathMatcher
private final Path
tmpDirectory
field_1_1663
tempPath
private final CowFsPath
rootPath
field_1_1661
rootFsPath
private final AtomicInteger
tmpFileIndex
field_1_1664
counter
private CowDirectory
fileTree
field_1_1659
rootDir

Constructor summary

ModifierConstructor
private (String storeName, Path root, Path tempPath, PathMatcher pathMatcher)

Method summary

Modifier and TypeMethod
public static CowFs
create(String name, Path baseDirectory, Path tmpDirectory, PathMatcher skippedPaths)
method_1_2047(String arg0, Path arg1, Path arg2, PathMatcher arg3)
create(String storeName, Path root, Path tempPath, PathMatcher pathMatcher)
private CowDirectory
buildFileTreeFrom(Path baseDirectory)
method_1_2044(Path arg0)
createRootDirectory(Path root)
protected void
resetFileTreeToBaseFolderContent()
method_1_2054()
recreateRootDirectory()
public CowFsProvider
provider()
method_1_2053()
provider()
public void
close()
public boolean
isOpen()
public boolean
isReadOnly()
public String
getSeparator()
public Iterable<Path>
getRootDirectories()
public Iterable<FileStore>
getFileStores()
public Set<String>
supportedFileAttributeViews()
public CowFsPath
getPath(String first, String... more)
method_1_2050(String arg0, String... arg1)
getPath(String arg0, String... arg1)
public PathMatcher
getPathMatcher(String syntaxAndPattern)
public UserPrincipalLookupService
getUserPrincipalLookupService()
public WatchService
newWatchService()
public CowFsFileStore
store()
method_1_2056()
getFileStore()
public CowFsPath
rootPath()
method_1_2055()
getRoot()
CowDirectory
fileTree()
method_1_2049()
getRootDir()
public Path
baseDirectory()
method_1_2043()
getRootPath()
public Path
tmpDirectory()
method_1_2057()
getTempPath()
Path
createTemporaryFilePath()
method_1_2048()
getPathInsideTempDir()
public FileSystem
backingFileSystem()
method_1_2042()
getOuterFileSystem()
public CowFs$Operation
collectMoveOperations(Path outPath)
method_1_2045(Path arg0)
getOutputOperation(Path outputPath)
private void
collectMoveOperations(Path outPath, DirectoryNode folder, CopyOnWriteFileSystem$Moves result)
method_1_2046(Path arg0, class_1_253 arg1, class_1_270$class_1_271 arg2)
getOutputOperation(Path outputPath, CowDirectory dir, CowFs$Operation operationOut)
public static void
createDirectories(List<Path> directories)
method_1_2444(List<Path> arg0)
createDirectories(List<Path> dirs)
public static void
hardLinkFiles(List<FileMove> moves)
method_1_2051(List<class_1_322> arg0)
createHardLinks(List<FileMove> moves)
public static void
moveFiles(List<FileMove> moves)
method_1_2445(List<class_1_322> arg0)
applyMoves(List<FileMove> moves)
public static void
moveFilesWithRetry(List<FileMove> moves, CopyOption... options)
method_1_2446(List<class_1_322> arg0, CopyOption... arg1)
copyMoves(List<FileMove> moves, CopyOption... options)
public static List<FileMove>
tryRevertMoves(List<FileMove> moves, CopyOption... options)
method_1_2447(List<class_1_322> arg0, CopyOption... arg1)
revertMoves(List<FileMove> moves, CopyOption... options)
public Path
getPath(String first, String[] more)
getPath(String arg0, String[] arg1)
getPath(String first, String[] more)
public FileSystemProvider
provider()