Expand description
Provides an abstract Filesystem trait, together with a physical (DiskFilesystem)
and virtual (MemoryFilesystem) implementation.
Structs§
- Attrs
- Owner, group and UNIX permissions
- Disk
Filesystem - Access to a real file system
- Memory
Filesystem - An in-memory representation of a file system
- Mode
- UNIX permissions
- Planted
Path - An absolute path that can be split easily into its
Rootand 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 (
0o755orrwxr-xr-x) - DEFAULT_
FILE_ MODE - The default mode for files (
0o644orrw-r--r--)
Traits§
- Filesystem
- Operations of a file system