Expand description
Per-file slice-hash tracking, persisted to ~/.cgx/<repo_id>/docs_state.json.
A “slice hash” is a stable digest of just the parts of the graph that drive a single file’s module note: the symbol IDs and line ranges, in/out edge counts, community membership, complexity bucket, and top owners. If two runs produce the same slice hash for a file, its note is byte-identical and can be skipped.
Structs§
Functions§
- entry_
now - Convenience: build a fresh entry for the current time.
- load_
state - Read the persisted state file, returning a default if missing.
- needs_
regen - Whether a file should be regenerated in incremental mode.
- save_
state - Persist the state file (creates parent dirs as needed).
- slice_
hash - Compute the slice hash for a single file from its
FileSummary.