MCPcopy
hub / github.com/kopia/kopia / StringField

Method StringField

internal/contentlog/contentlog_json_writer.go:100–103  ·  view source on GitHub ↗

string StringField writes a string field.

(key, value string)

Source from the content-addressed store, hash-verified

98
99// StringField writes a string field.
100func (jw *JSONWriter) StringField(key, value string) {
101 jw.beforeField(key)
102 jw.stringValue(value)
103}
104
105// StringElement writes a string element.
106func (jw *JSONWriter) StringElement(value string) {

Calls 2

beforeFieldMethod · 0.95
stringValueMethod · 0.95