Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
function
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
readJsonCache
Function · 0.85
writeJsonCache
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected