Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ rebuild.js
File
rebuild.js
deps/npm/test/lib/commands/rebuild.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
fs = require(
'node:fs'
)
3
const
{ resolve } = require(
'node:path'
)
4
const
setupMockNpm = require(
'../../fixtures/mock-npm'
)
Callers
nothing calls this directly
Calls
11
setupMockNpm
Function · 0.85
match
Method · 0.65
require
Function · 0.50
resolve
Function · 0.50
test
Method · 0.45
statSync
Method · 0.45
exec
Method · 0.45
ok
Method · 0.45
completion
Method · 0.45
type
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected