The virtual file system interface.
Synopsis
Declared in <llvm/Support/VirtualFileSystem.h>
class FileSystem
: public llvm::ThreadSafeRefCountedBase<FileSystem>
, public RTTIExtends<FileSystem, RTTIRoot>
Base Classes
Name |
Description |
A thread‐safe version of |
|
Inheritance utility for extensible RTTI. |
Type Aliases
Name |
Description |
Callback type used when visiting nested file systems. |
Enums
Name |
Description |
How much detail to include when printing a file system. |
Member Functions
Name |
Description |
|
Virtual destructor for polymorphic file systems. |
Atomically decrement the reference count; delete the object when it reaches zero. |
|
Increment the reference count. |
|
Return the current reference count. |
|
|
Get a directory_iterator for |
Dump this file system to stderr for debugging. |
|
Check whether |
|
|
Check whether |
Open a file, read its contents, and close it. |
|
|
Get the working directory of this file system. |
|
Get the real path of |
Check whether this instance is a subclass of QueryT. |
|
|
Is the file mounted on a local filesystem? |
|
Make Path an absolute path. |
|
Get a |
|
Get a File object for the binary file at |
Print a description of this file system to |
|
|
Set the working directory. This will affect all following operations on this file system and may propagate down for nested file systems. |
|
Get the status of the entry at |
Visit this file system and then its children. |
|
|
Visit nested child file systems. |
Static Member Functions
Static Data Members
Name |
Description |
RTTI type identifier for this class. |
Using Declarations
Name |
Description |
Inherit constructors from the first parent type. |
Protected Member Functions
Name |
Description |
|
Copy assignment is deleted; reference counts are not copied. |
|
Print this file system implementation. |
Write indentation for file system printing. |
Non-Member Functions
Name |
Description |
Create an vfs::FileSystem for the OS real file system. |
|
Get an vfs::FileSystem for the process's real file system. |
|
Gets a |
Created with MrDocs