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

Method Index

opensca/model/dep.go:92–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90}
91
92func (dep *DepGraph) Index() string {
93 if dep.Vendor == "" {
94 return fmt.Sprintf("[%s:%s]", dep.Name, dep.Version)
95 }
96 return fmt.Sprintf("[%s:%s:%s]", dep.Vendor, dep.Name, dep.Version)
97}
98
99func (dep *DepGraph) String() string {
100 dev := ""

Callers 15

StringMethod · 0.95
pipenvGraphFunction · 0.80
ParseRequirementTxtFunction · 0.80
ParseGomodFunction · 0.80
FindMaxVersionFunction · 0.80
ParseGroovyFunction · 0.80
ReplaceMethod · 0.80
ParseGradleFunction · 0.80
GradleTreeFunction · 0.80
ParseGemfileLockFunction · 0.80
ParseSpdxFunction · 0.80
ReadDsdxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected