Skip to main content

Module digest

Module digest 

Source
Expand description

A content digest of the corpus, so a consumer can tell whether a projection it holds is still current.

The digest is taken over the canonical JSONL export, which is already deterministic and byte-for-byte stable. Hashing that rather than the org files means formatting churn that does not change an issue does not change the digest either. Every function here reads; none writes.

Structs§

CorpusDigest
The digest of a selected set of projects, plus what it was taken against.
ProjectDigest
One project’s contribution to the digest.

Functions§

corpus_digest
Digest the named projects, or every project when the list is empty.
project_digest
Digest one project’s export bytes.