MCPcopy
hub / github.com/kopia/kopia / begin

Method begin

cli/json_output.go:94–104  ·  view source on GitHub ↗
(o *jsonOutput)

Source from the content-addressed store, hash-verified

92}
93
94func (l *jsonList) begin(o *jsonOutput) {
95 l.o = o
96
97 if o.jsonOutput {
98 fmt.Fprint(l.o.out, "[") //nolint:errcheck
99
100 if !o.jsonIndent {
101 l.separator = "\n "
102 }
103 }
104}
105
106func (l *jsonList) end() {
107 if l.o.jsonOutput {

Callers 10

runMethod · 0.95
listManifestItemsMethod · 0.95
runMethod · 0.95
runUserListMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
outputJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected