MCPcopy Create free account
hub / github.com/Martian-Engineering/pr-sheriff / cachePath

Function cachePath

src/github/file_cache.mjs:23–25  ·  view source on GitHub ↗
(cacheDir, key)

Source from the content-addressed store, hash-verified

21}
22
23function cachePath(cacheDir, key) {
24 return path.join(cacheDir, `${key}.json`);
25}
26
27/**
28 * Read a JSON cache entry if it exists and is within TTL.

Callers 2

readJsonCacheFunction · 0.85
writeJsonCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected