AbstractBaseVFS
VFS: Guest Base
This base class describes the expected API for guest VFS implementations, including their builders (VFSBuilder) and factories (VFSFactory). Defaults are provided for the root system path and current-working-directory, both of which default to /
.
Guest VFS implementations have their own subclass API, with which the abstract FS implementation can query for policy status, file membership, and so on. See the methods enforce and checkPolicy for more information.
Parameters
Concrete virtual file system type under implementation.
Effective guest VFS configuration to apply.
See also
for the public API of guest VFS implementations.
for a concrete implementation of a guest VFS backed by a real file system.
Inheritors
Types
Specifies the expected API surface of a VFS builder's static interface. This interface is used to construct new builders, regardless of implementation (see newBuilder).
Specifies the expected API surface of a VFS implementation's companion object, which should be equipped to create and resolve VFS implementations using the VFSBuilder and VFSBuilderFactory.
Functions
Subclass API: Policy check.
Subclass API: Read a file.
Subclass API: Write a file.