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. - compute_
diff_ with_ options - Compare the filesystem at
rootagainst themanifestwith explicit walk filters. Excluded files are treated like deleted manifest entries so stale cached chunks are pruned from the index. - hash_
file - Compute the blake3 hash of a file’s content.
- mtime_
secs - Get the mtime of a path in seconds since epoch.