Skip to main content

Module manifest

Module manifest 

Source
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.
FileEntry
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.