MCPcopy
hub / github.com/kopia/kopia / ParamWriter

Interface ParamWriter

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

ParamWriter must be implemented by all types that write a parameter ("key":value)to the JSON writer.

Source from the content-addressed store, hash-verified

28
29// ParamWriter must be implemented by all types that write a parameter ("key":value)to the JSON writer.
30type ParamWriter interface {
31 WriteValueTo(jw *JSONWriter)
32}
33
34func (jw *JSONWriter) beforeField(key string) {
35 jw.buf = append(jw.buf, jw.separator...)

Callers 8

EmitFunction · 0.65
WriteToMethod · 0.65
TestStringFunction · 0.65
TestInt64Function · 0.65
TestIntFunction · 0.65
TestInt32Function · 0.65
TestBoolFunction · 0.65
TestTimeFunction · 0.65

Implementers 15

contentIDParaminternal/contentparam/contentid_params
voidParamValueinternal/contentlog/contentlog_logger.
int64Paraminternal/contentlog/logparam/logparam.
uint64Paraminternal/contentlog/logparam/logparam.
timeParaminternal/contentlog/logparam/logparam.
boolParaminternal/contentlog/logparam/logparam.
durationParaminternal/contentlog/logparam/logparam.
errorParaminternal/contentlog/logparam/logparam.
stringParaminternal/contentlog/logparam/logparam.
blobMetadataListParaminternal/blobparam/blobid_params.go
blobIDParaminternal/blobparam/blobid_params.go
blobIDListParaminternal/blobparam/blobid_params.go

Calls

no outgoing calls

Tested by

no test coverage detected