Expand description
Content-hashing and per-generator caching for skip-if-unchanged builds.
Functionsยง
- hash_
api - Serialize the API to canonical JSON and return its SHA-256 hex digest.
- hash_
api_ for_ generator - Return the SHA-256 hex digest of the API content keyed by
generator_name. - invalidate_
all - Delete every persisted cache entry under
out_dir/.weaveffi-cache/. - read_
generator_ cache - Read the persisted hash for
generator_namefromout_dir/.weaveffi-cache/. - write_
generator_ cache - Persist
hashas the cache entry forgenerator_name.