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

Function SwidXml

cmd/format/swid.go:84–88  ·  view source on GitHub ↗
(report Report, out string)

Source from the content-addressed store, hash-verified

82}
83
84func SwidXml(report Report, out string) {
85 swidZip(out, report, func(tag *swid.SoftwareIdentity, w io.Writer) error {
86 return xml.NewEncoder(w).Encode(tag)
87 })
88}

Callers 1

SaveFunction · 0.85

Calls 2

swidZipFunction · 0.85
EncodeMethod · 0.80

Tested by

no test coverage detected