Whether or not a file path exists in the container.
File path to test
true if the path exists
Searches for a metadata component file in a container directory.
The type of component file
The name of the file without a suffix
The directory to search in
The first path that meets the criteria, or undefined if none were found
Whether or not a file path is a directory in the container.
File path to test
true if the path is to a directory
Reads the contents of a directory in the container.
Path to directory
An array of file and directory names in the directory
Reads the contents of a file.
A buffer of the file contents
Reads the contents of a file synchronously.
A buffer of the file contents
Creates a readable stream of a file's contents.
File path to create a readable stream from
A readable stream
StaticfromDesigned for recreating virtual files from deleted files where the only information we have is the file's former location Any use of MetadataResolver was trying to access the non-existent files and throwing
full paths to files
VirtualTreeContainer
A TreeContainer useful for mocking a file system.