Skip to main content

Module state

Module state 

Source
Expand description

The state file: Byssus’s record of the mounts it created.

See docs/DESIGN.md, “State file”.

Structs§

MountRecord
A mount Byssus created.
RecordKey
Identifies a record: at most one record exists per group and member.
State
The in-memory set of mount records.
StateStore
Reads and writes the state file through a descriptor for the state directory.

Enums§

DecodeError
Why state content could not be decoded.
LoadError
Why the state file could not be loaded at all.
LoadOutcome
Result of loading the state file.

Constants§

STATE_FILE_MODE
Permission bits of the state file.
STATE_FILE_NAME
State file name within the state directory.
STATE_VERSION
Current state file format version.