Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/actions/setup-java
/ cache.test.ts
File
cache.test.ts
__tests__/cache.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{mkdtempSync} from
'fs'
;
2
import
{tmpdir} from
'os'
;
3
import
{join} from
'path'
;
4
import
{restore, save} from
'../src/cache'
;
Callers
nothing calls this directly
Calls
8
restore
Function · 0.90
save
Function · 0.90
projectRoot
Function · 0.85
createFile
Function · 0.85
createDirectory
Function · 0.85
createStateForMissingBuildFile
Function · 0.85
resetState
Function · 0.70
createStateForSuccessfulRestore
Function · 0.70
Tested by
no test coverage detected