[][src]Module radicle_surf::file_system

Re-exports

pub use crate::file_system::error as file_error;

Modules

error
unsound

Structs

Directory

A Directory consists of its Label and its entries. The entries are a set of DirectoryContents and there should be at least one entry. This is because empty directories do not generally exist in VCSes.

File

A File consists of its file name (a Label and its file contents (a Vec of bytes).

Label

A label for Directory and File to allow for search.

Path

A non-empty set of Labels to define a path in a directory or file search.

Enums

DirectoryContents

A DirectoryContents is made up of either:

SystemType

SystemType is an enumeration over what can be found in a Directory so we can report back to the caller a Label and its type.