MCPcopy
hub / github.com/kopia/kopia / end

Method end

cli/json_output.go:106–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106func (l *jsonList) end() {
107 if l.o.jsonOutput {
108 if !l.o.jsonIndent {
109 fmt.Fprint(l.o.out, "\n") //nolint:errcheck
110 }
111
112 fmt.Fprint(l.o.out, "]") //nolint:errcheck
113 }
114}
115
116func (l *jsonList) emit(v any) {
117 fmt.Fprintf(l.o.out, "%s%s", l.separator, l.o.jsonBytes(v)) //nolint:errcheck

Callers 11

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
pollOnceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected