Expand description
Helpers for interacting with sysroots.
Structs§
- Stateroot
- Metadata about a stateroot.
- Sysroot
Lock - A locked system root.
Enums§
- Stateroot
Kind - A stateroot can match our auto “state-” prefix, or be manual.
Constants§
- AUTO_
STATEROOT_ 🔒PREFIX - We may automatically allocate stateroots, this string is the prefix.
Functions§
- allocate_
new_ stateroot - Given a set of stateroots, allocate a new one
- list_
stateroots - Enumerate stateroots, which are basically the default place for
/var. - parse_
auto_ 🔒stateroot_ name - Given a string, if it matches the form of an automatic state root, parse it into its
. pair. - read_
stateroot 🔒 - Load metadata for a stateroot
- sysroot_
fd - Access the file descriptor for a sysroot