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.
Constants§
- DEFAULT_
ISSUE_ TTL_ MINS - Default TTL for issue cache entries (in minutes).
- DEFAULT_
MODEL_ TTL_ SECS - Default TTL for model registry cache entries (in seconds).
- DEFAULT_
REPO_ TTL_ HOURS - Default TTL for repository cache entries (in hours).
- DEFAULT_
SECURITY_ TTL_ DAYS - Default TTL for security finding cache entries (in days).
Functions§
- cache_
dir - Returns the cache directory.