MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / ForEachNode

Method ForEachNode

opensca/model/dep.go:329–331  ·  view source on GitHub ↗

ForEachNode 遍历依赖图节点

(do func(p, n *DepGraph) bool)

Source from the content-addressed store, hash-verified

327
328// ForEachNode 遍历依赖图节点
329func (dep *DepGraph) ForEachNode(do func(p, n *DepGraph) bool) {
330 dep.ForEach(false, false, false, do)
331}
332
333type DepGraphMap struct {
334 m map[string]*DepGraph

Callers 12

mainFunction · 0.95
GradleTreeFunction · 0.95
ParsePackageJsonWithNodeFunction · 0.95
parsePomFunction · 0.95
FlushMethod · 0.95
RemoveDevelopMethod · 0.95
startProgressBarFunction · 0.80
mainFunction · 0.80
DiffFunction · 0.80
RunTaskFunction · 0.80
NewDepDetailGraphFunction · 0.80

Calls 1

ForEachMethod · 0.95

Tested by

no test coverage detected