Expand description
Scratch files beside their destinations, and backups by digest.
Staging is always a sibling of the destination, so the rename that
follows never crosses a filesystem, whichever mount HOME,
XDG_STATE_HOME, or CLAUDE_CONFIG_DIR puts a root on. Backups are
copies under one root and cross filesystems freely, which is why they
are copies and the replacements are renames.
Structs§
- Stage
- Where a run keeps what it is about to replace.
Functions§
- scratch_
for - The scratch path one destination stages through.