MCPcopy
hub / github.com/kopia/kopia / StringElement

Method StringElement

internal/contentlog/contentlog_json_writer.go:106–109  ·  view source on GitHub ↗

StringElement writes a string element.

(value string)

Source from the content-addressed store, hash-verified

104
105// StringElement writes a string element.
106func (jw *JSONWriter) StringElement(value string) {
107 jw.beforeElement()
108 jw.stringValue(value)
109}
110
111func (jw *JSONWriter) stringValue(value string) {
112 jw.buf = append(jw.buf, '"')

Calls 2

beforeElementMethod · 0.95
stringValueMethod · 0.95