Structs§
- Store
Path Name - Validated name of a store path.
- Store
Path Name Buf - An owned validated name of a store path.
Enums§
- Parse
Store Path Name Error - Error returned when creating a
StorePathName.
Constants§
- DRV_EXT
- Extension for derivation names.
- MAX_
NAME_ LEN - Maximum number of bytes in a store path name.
Statics§
- NAME_
CHARS 🔒 - NAME_CHARS contains
truefor bytes that are valid in store path names.
Functions§
- validate_
name 🔒 - Checks a given
&[u8]to match the restrictions for StorePathName, and returns the name as&StorePathNameif successful.