VirtualFileSystem
An in-memory FileSystem, detached from the physical disk. Entries produced by this file system return null from FsEntry.toFileOrNull.
Parameters
workingDirectoryPath
absolute path of the working directory within the virtual tree
Properties
Functions
Link copied to clipboard
Creates a new FileSystem branched from this one, with the given workingDirectory.
Link copied to clipboard
Computes the relative path from this file system's workingDirectory to other's.
Link copied to clipboard
Creates a new root FileSystem on the same backend, with the given workingDirectory and no branch lineage, so that isRoot holds for the result.
Link copied to clipboard
Resolves a local file path, either absolutely or relatively from workingDirectory. This does not perform any check for file existence.
Link copied to clipboard