Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XmirrorSecurity/OpenSCA-cli
/ NewBaseOrigin
Function
NewBaseOrigin
cmd/detail/origin.go:40–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
}
39
40
func
NewBaseOrigin() *BaseOrigin {
41
return
&BaseOrigin{
42
data:
map
[string]
map
[string][]VulnInfo{},
43
idSet:
map
[string]bool{},
44
}
45
}
46
47
func
(o *BaseOrigin) LoadDataOrigin(data ...VulnInfo) {
48
if
o == nil {
Callers
1
GetOrigin
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected