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

Function DsdxXml

cmd/format/dsdx.go:24–28  ·  view source on GitHub ↗
(report Report, out string)

Source from the content-addressed store, hash-verified

22}
23
24func DsdxXml(report Report, out string) {
25 outWrite(out, func(w io.Writer) error {
26 return xml.NewEncoder(w).Encode(dsdxDoc(report))
27 })
28}
29
30func dsdxDoc(report Report) *model.DsdxDocument {
31

Callers 1

SaveFunction · 0.85

Calls 3

outWriteFunction · 0.85
dsdxDocFunction · 0.85
EncodeMethod · 0.80

Tested by

no test coverage detected