MCPcopy
hub / github.com/kopia/kopia / Int

Function Int

internal/contentlog/logparam/logparam.go:25–27  ·  view source on GitHub ↗

Int creates an int parameter. nolint:revive

(key string, value int)

Source from the content-addressed store, hash-verified

23//
24//nolint:revive
25func Int(key string, value int) int64Param {
26 return int64Param{Key: key, Value: int64(value)}
27}
28
29// Int32 creates an int32 parameter.
30//

Callers 15

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
loadRangeCheckpointsMethod · 0.92

Calls

no outgoing calls

Tested by 12

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
TestIntFunction · 0.68