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

Function skip

opensca/sca/php/composer.go:43–45  ·  view source on GitHub ↗

skip 跳过非第三方组件

(s string)

Source from the content-addressed store, hash-verified

41
42// skip 跳过非第三方组件
43func skip(s string) bool {
44 return !strings.Contains(s, "/")
45}
46
47func ParseComposerJsonWithLock(json *ComposerJson, lock *ComposerLock) *model.DepGraph {
48

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected