Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ cache.js
File
cache.js
deps/npm/test/lib/commands/cache.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
{ load: loadMockNpm } = require(
'../../fixtures/mock-npm.js'
)
3
const
MockRegistry = require(
'@npmcli/mock-registry'
)
4
Callers
nothing calls this directly
Calls
15
cleanCwd
Function · 0.85
createNpxCacheEntry
Function · 0.85
package
Method · 0.80
same
Method · 0.80
all
Method · 0.80
loadMockNpm
Function · 0.70
testComp
Function · 0.70
get
Method · 0.65
put
Method · 0.65
match
Method · 0.65
require
Function · 0.50
test
Method · 0.45
Tested by
no test coverage detected