MCPcopy
hub / github.com/kopia/kopia / Int64Field

Method Int64Field

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

Int64Field writes an int64 field.

(key string, value int64)

Source from the content-addressed store, hash-verified

220
221// Int64Field writes an int64 field.
222func (jw *JSONWriter) Int64Field(key string, value int64) {
223 jw.beforeField(key)
224 jw.int64Value(value)
225}
226
227// Int64Element writes an int64 element.
228func (jw *JSONWriter) Int64Element(value int64) {

Callers 13

TestEntryWriter_AllTypesFunction · 0.95
TestJSONWriter_IntTypesFunction · 0.95
TestJSONWriter_EdgeCasesFunction · 0.95
IntFieldMethod · 0.95
Int8FieldMethod · 0.95
Int16FieldMethod · 0.95
Int32FieldMethod · 0.95
WriteToMethod · 0.80
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80

Calls 2

beforeFieldMethod · 0.95
int64ValueMethod · 0.95

Tested by 4

TestEntryWriter_AllTypesFunction · 0.76
TestJSONWriter_IntTypesFunction · 0.76
TestJSONWriter_EdgeCasesFunction · 0.76
WriteToMethod · 0.64