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

Function RegisterMavenRepo

opensca/sca/java/sca.go:90–95  ·  view source on GitHub ↗
(repos ...common.RepoConfig)

Source from the content-addressed store, hash-verified

88}
89
90func RegisterMavenRepo(repos ...common.RepoConfig) {
91 newRepo := common.TrimRepo(repos...)
92 if len(newRepo) > 0 {
93 defaultMavenRepo = newRepo
94 }
95}

Callers 3

argsFunction · 0.92
initFunction · 0.92
Test_JavaWithStaticFunction · 0.92

Calls 1

TrimRepoFunction · 0.92

Tested by 1

Test_JavaWithStaticFunction · 0.74