pub fn compute_diff(root: &Path, manifest: &Manifest) -> Result<DiffResult>Expand description
Compare the filesystem at root against the manifest to find changes.
Uses a two-level strategy:
- Directory mtime — if unchanged, skip the entire subtree
- File (mtime, size) — if changed, blake3-hash the content to confirm
§Errors
Returns an error if the root directory cannot be read.