MCPcopy
hub / github.com/kopia/kopia / String

Function String

internal/contentlog/logparam/logparam.go:13–15  ·  view source on GitHub ↗

String creates a string parameter. nolint:revive

(key, value string)

Source from the content-addressed store, hash-verified

11//
12//nolint:revive
13func String(key, value string) stringParam {
14 return stringParam{Key: key, Value: value}
15}
16
17// Int64 creates an int64 parameter.
18//

Callers 15

NewLoggerMethod · 0.92
TestNewLoggerFunction · 0.92
TestLogFunction · 0.92
TestLog1Function · 0.92
TestLog2Function · 0.92
TestLog3Function · 0.92
TestLog4Function · 0.92
TestLog5Function · 0.92
TestLog6Function · 0.92
TestEmitFunction · 0.92
TestLoggerMultipleLogsFunction · 0.92
BenchmarkLoggerFunction · 0.92

Calls

no outgoing calls

Tested by 13

TestNewLoggerFunction · 0.74
TestLogFunction · 0.74
TestLog1Function · 0.74
TestLog2Function · 0.74
TestLog3Function · 0.74
TestLog4Function · 0.74
TestLog5Function · 0.74
TestLog6Function · 0.74
TestEmitFunction · 0.74
TestLoggerMultipleLogsFunction · 0.74
BenchmarkLoggerFunction · 0.74
TestStringFunction · 0.68