Expand description
Two-level Merkle diff for incremental change detection.
Level 1: Compare directory mtimes — skip entire subtrees if unchanged. Level 2: For changed directories, stat files and blake3-hash dirty ones.
Structs§
- Diff
Result - Result of diffing the filesystem against a manifest.
Functions§
- compute_
diff - Compare the filesystem at
rootagainst themanifestto find changes. - hash_
file - Compute the blake3 hash of a file’s content.
- mtime_
secs - Get the mtime of a path in seconds since epoch.