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

Function Spdx

cmd/format/spdx.go:12–16  ·  view source on GitHub ↗
(report Report, out string)

Source from the content-addressed store, hash-verified

10)
11
12func Spdx(report Report, out string) {
13 outWrite(out, func(w io.Writer) error {
14 return spdxDoc(report).WriteSpdx(w)
15 })
16}
17
18func SpdxJson(report Report, out string) {
19 outWrite(out, func(w io.Writer) error {

Callers 1

SaveFunction · 0.85

Calls 3

outWriteFunction · 0.85
spdxDocFunction · 0.85
WriteSpdxMethod · 0.80

Tested by

no test coverage detected