Expand description
Validation and normalization: AppConfig -> ResolvedApp
ResolvedApp is a proof token: constructing one is only possible through
normalize, so daemon code can require it and skip re-validation.
Structs§
- Resolved
App - A validated app config: only obtainable via
normalize.
Enums§
- Normalize
Error - Error type returned from
normalizeandnormalize_all - Tilde
Error - Why
expand_home_tilderefused a value, with no per-field context attached, for a caller that has none to give.
Functions§
- expand_
home_ tilde - Expands a leading
~/invalueagainsthome - normalize
- Validates one app config
- normalize_
all - Validates a whole flock, rejecting duplicate sheep names
- normalize_
with_ home normalize, with the home directory supplied rather than read.