Module cache

Module cache 

Source
Expand description

TTL-based file caching for GitHub API responses.

Stores issue and repository data as JSON files with embedded metadata (timestamp, optional etag). Cache entries are validated against TTL settings from configuration.

Structs§

CacheEntry
A cached entry with metadata.

Functions§

cache_dir
Returns the cache directory.
cache_key_issues
A cache key string in the format issues/{owner}_{repo}.json
cache_key_repo_metadata
Generate a cache key for an issue list.
read_cache
Read a cache entry from disk.
write_cache
Write a cache entry to disk.