MCPcopy 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
40func NewBaseOrigin() *BaseOrigin {
41 return &BaseOrigin{
42 data: map[string]map[string][]VulnInfo{},
43 idSet: map[string]bool{},
44 }
45}
46
47func (o *BaseOrigin) LoadDataOrigin(data ...VulnInfo) {
48 if o == nil {

Callers 1

GetOriginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected