Expand description
Manifest tracking indexed files with a Merkle tree for fast change detection.
The manifest stores per-file metadata (mtime, size, content hash, chunk count) and per-directory metadata (mtime, hash). Directory hashes are computed bottom-up from children’s content hashes, enabling top-down pruning during diffs.
Structs§
- DirEntry
- Directory metadata for Merkle tree change detection.
- File
Entry - File metadata for change detection and cache lookup.
- Manifest
- Persistent manifest tracking all indexed files and their state.
Constants§
- MANIFEST_
VERSION - Current cache format version. Bump to invalidate all existing caches.