Expand description
Filesystem primitives the lifecycle services share.
Hashing, guarded destination checks, and parent-creating writes — the mechanics only. Which destinations exist and what to do about a refusal is the installer’s and upgrader’s business.
Enums§
- Destination
Refusal - Why a destination cannot be touched.
Functions§
- check_
destination - Check that touching
destinationundertargetstays inside the target. - sha256_
file - Hash a file’s bytes.
- write_
file - Write a file, creating its parent directories.