MCPcopy Create free account
hub / github.com/nodejs/node / #trackEdge

Method #trackEdge

deps/npm/lib/commands/outdated.js:131–136  ·  view source on GitHub ↗
(edge)

Source from the content-addressed store, hash-verified

129 }
130
131 #trackEdge (edge) {
132 if (edge.from && this.#filterSet?.size > 0 && !this.#filterSet.has(edge.from.target)) {
133 return
134 }
135 this.#edges.add(edge)
136 }
137
138 #getWorkspacesEdges () {
139 if (this.npm.global) {

Callers 2

#getEdgesInMethod · 0.95
#getEdgesOutMethod · 0.95

Calls 2

hasMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected