Expand description
SHA256-based semantic caching for graphify.
Caches extraction results keyed by content hash so unchanged files are not re-processed.
Enums§
- Cache
Error - Errors from the cache layer.
Functions§
- clear_
cache - Remove all cached files from the default cache directory.
- clear_
cache_ dir - Remove all cached files from the given cache directory.
- file_
hash - Compute the SHA256 hex digest of a file’s content.
- invalidate_
cached - Invalidate the cache entry for a specific file.
- load_
cached - Load a cached extraction result for
path, returningNoneon cache miss. - load_
cached_ from - Like
load_cachedbut with an explicit cache directory. - save_
cached - Save an extraction result to cache.
- save_
cached_ to - Like
save_cachedbut with an explicit cache directory.