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

Method Index2

opensca/sca/java/pom.go:114–119  ·  view source on GitHub ↗

Index2 is groupId:artifactId:classifier:type

()

Source from the content-addressed store, hash-verified

112
113// Index2 is groupId:artifactId:classifier:type
114func (pd PomDependency) Index2() string {
115 if pd.Type == "jar" {
116 pd.Type = ""
117 }
118 return fmt.Sprintf("%s:%s:%s:%s", pd.GroupId, pd.ArtifactId, pd.Classifier, pd.Type)
119}
120
121// Index3 is groupId:artifactId:classifier:type:version
122func (pd PomDependency) Index3() string {

Callers 4

Index3Method · 0.95
ReadPomFunction · 0.80
inheritPomFunction · 0.80
parsePomFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected