Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
90
func
RegisterMavenRepo(repos ...common.RepoConfig) {
91
newRepo := common.TrimRepo(repos...)
92
if
len(newRepo) > 0 {
93
defaultMavenRepo = newRepo
94
}
95
}
Callers
3
args
Function · 0.92
init
Function · 0.92
Test_JavaWithStatic
Function · 0.92
Calls
1
TrimRepo
Function · 0.92
Tested by
1
Test_JavaWithStatic
Function · 0.74