MCPcopy
hub / github.com/kopia/kopia / IntField

Method IntField

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

signed integers IntField writes an int field.

(key string, value int)

Source from the content-addressed store, hash-verified

196
197// IntField writes an int field.
198func (jw *JSONWriter) IntField(key string, value int) { jw.Int64Field(key, int64(value)) }
199
200// IntElement writes an int element.
201func (jw *JSONWriter) IntElement(value int) { jw.Int64Element(int64(value)) }

Callers 1

TestJSONWriter_IntTypesFunction · 0.95

Calls 1

Int64FieldMethod · 0.95

Tested by 1

TestJSONWriter_IntTypesFunction · 0.76