MCPcopy
hub / github.com/GitGuardian/ggshield / _cache_file

Function _cache_file

ggshield/core/auth_check_cache.py:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def _cache_file() -> Path:
25 # Resolved lazily so GG_CACHE_DIR overrides (tests, sandboxed envs) are honored.
26 return get_cache_dir() / "auth_check.yaml"
27
28
29@dataclass

Callers 3

loadFunction · 0.85
storeFunction · 0.85
invalidateFunction · 0.85

Calls 1

get_cache_dirFunction · 0.90

Tested by

no test coverage detected