Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ use
Method
use
scripts/bundle-and-gitignore-deps.js:97–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
95
}
96
97
use () {
98
const
segment = this.#segments.shift()
99
this.#usedSegments.push(segment)
100
return
segment
101
}
102
103
allowContents ({ use = true, isDirectory = true } = {}) {
104
if
(use) {
Callers
6
allowContents
Method · 0.95
allow
Method · 0.95
gatherAllows
Function · 0.95
getPrBody
Function · 0.80
transformMan
Function · 0.80
transformHTML
Function · 0.80
Calls
1
push
Method · 0.80
Tested by
no test coverage detected