Module storage

Source
Expand description

Storage-related abstractions and commands.

Structs§

CdCommand
The CD command.
DirCommand
The DIR command.
DirectoryDrive
A drive that is backed by an on-disk directory.
DirectoryDriveFactory
Factory for directory-backed drives.
DiskSpace
Representation of some amount of disk space. Can be used to express both quotas and usage.
DriveFiles
Collection of entries in the store and their metadata. Used to represent the result of the Drive::enumerate call.
FileAcls
Describes the ACLs of a file.
InMemoryDrive
A drive that records all data in memory only.
InMemoryDriveFactory
Factory for in-memory drives.
Metadata
Metadata of an entry in a storage medium.
MountCommand
The MOUNT command.
PwdCommand
The PWD command.
Storage
Storage subsystem representation.
UnmountCommand
The UNMOUNT command.

Traits§

Drive
Abstract operations to load and store programs on some storage medium.
DriveFactory
Trait to instantiate drives of a given type.

Functions§

add_all
Adds all file system manipulation commands for storage to the machine, using console to display information.