Uses of Class
io.roastedroot.zerofs.DirectoryEntry
-
Uses of DirectoryEntry in io.roastedroot.zerofs
Fields in io.roastedroot.zerofs declared as DirectoryEntryModifier and TypeFieldDescriptionprivate DirectoryEntryDirectory.entryInParentThe entry linking to this directory in its parent directory.(package private) DirectoryEntryDirectoryEntry.nextprivate DirectoryEntry[]Directory.tableMethods in io.roastedroot.zerofs that return DirectoryEntryModifier and TypeMethodDescriptionDirectory.entryInParent()Returns the entry linking to this directory in its parent.private DirectoryEntryFileTree.followSymbolicLink(File dir, SymbolicLink link, int linkDepth) Returns the directory entry located by the target path of the given symbolic link, resolved relative to the given directory.Returns the entry for the given name in this table or null if no such entry exists.private DirectoryEntryFileTree.getRealEntry(DirectoryEntry entry) Returns the entry for the file in its parent directory.Gets the directory entry for the root with the given name ornullif no such root exists.private DirectoryEntryFileSystemView.lookUp(ZeroFsPath path, Set<? super LinkOption> options) Looks up the file at the given path without locking.FileTree.lookUp(File workingDirectory, ZeroFsPath path, Set<? super LinkOption> options) Returns the result of the file lookup for the given path.private DirectoryEntryFileTree.lookUp(File dir, ZeroFsPath path, Set<? super LinkOption> options, int linkDepth) private DirectoryEntryLooks up the given names against the given base file.(package private) DirectoryEntryZeroFsFileStore.lookUp(File workingDirectory, ZeroFsPath path, Set<? super LinkOption> options) Looks up the file at the given path using the given link options.private DirectoryEntryFileTree.lookUpLast(File dir, Name name, Set<? super LinkOption> options, int linkDepth) Looks up the last element of a path.(package private) DirectoryEntryFileSystemView.lookUpWithLock(ZeroFsPath path, Set<? super LinkOption> options) Attempt to look up the file at the given path.(package private) DirectoryEntryRemoves and returns the entry for the given name from the directory.DirectoryEntry.requireDirectory(Path pathForException) Checks that this entry exists and links to a directory, throwing an exception if not.DirectoryEntry.requireDoesNotExist(Path pathForException) Checks that this entry does not exist, throwing an exception if it does.DirectoryEntry.requireExists(Path pathForException) Checks that this entry exists, throwing an exception if not.DirectoryEntry.requireSymbolicLink(Path pathForException) Checks that this entry exists and links to a symbolic link, throwing an exception if not.Methods in io.roastedroot.zerofs that return types with arguments of type DirectoryEntryMethods in io.roastedroot.zerofs with parameters of type DirectoryEntryModifier and TypeMethodDescriptionprivate static voidDirectory.addToBucket(int bucketIndex, DirectoryEntry[] table, DirectoryEntry entryToAdd) private voidFileSystemView.delete(DirectoryEntry entry, FileSystemView.DeleteMode deleteMode, ZeroFsPath pathForException) Deletes the given directory entry from its parent directory.private voidDirectory.forcePut(DirectoryEntry entry) Adds the given entry to the directory, overwriting an existing entry with the same name if such an entry exists.private DirectoryEntryFileTree.getRealEntry(DirectoryEntry entry) Returns the entry for the file in its parent directory.(package private) voidDirectory.linked(DirectoryEntry entry) (package private) voidFile.linked(DirectoryEntry entry) Called when this file has been linked in a directory.(package private) voidDirectory.put(DirectoryEntry entry) Adds the given entry to the directory.private voidDirectory.put(DirectoryEntry entry, boolean overwriteExisting) Adds the given entry to the directory.