Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XmirrorSecurity/OpenSCA-cli
/ Json
Function
Json
cmd/format/json.go:8–14 ·
view source on GitHub ↗
(report Report, out string)
Source
from the content-addressed store, hash-verified
6
)
7
8
func
Json(report Report, out string) {
9
outWrite(out,
func
(w io.Writer) error {
10
encoder := json.NewEncoder(w)
11
encoder.SetIndent(
""
,
" "
)
12
return
encoder.Encode(report)
13
})
14
}
Callers
2
Saas
Function · 0.85
Save
Function · 0.85
Calls
2
Encode
Method · 0.95
outWrite
Function · 0.85
Tested by
no test coverage detected