Crate diskplan_filesystem

Source
Expand description

Provides an abstract Filesystem trait, together with a physical (DiskFilesystem) and virtual (MemoryFilesystem) implementation.

Structs§

Attrs
Owner, group and UNIX permissions
DiskFilesystem
Access to a real file system
MemoryFilesystem
An in-memory representation of a file system
Mode
UNIX permissions
PlantedPath
An absolute path that can be split easily into its Root and relative path parts
Root
An absolute path to a configured location on disk
SetAttrs
Optional owner, group and UNIX permissions to be set

Constants§

DEFAULT_DIRECTORY_MODE
The default mode for directories (0o755 or rwxr-xr-x)
DEFAULT_FILE_MODE
The default mode for files (0o644 or rw-r--r--)

Traits§

Filesystem
Operations of a file system