MCPcopy
hub / github.com/kopia/kopia / ErrorBytesCounter

Function ErrorBytesCounter

internal/uitask/uitask_counter.go:41–43  ·  view source on GitHub ↗

ErrorBytesCounter returns CounterValue for the number of bytes.

(v int64)

Source from the content-addressed store, hash-verified

39
40// ErrorBytesCounter returns CounterValue for the number of bytes.
41func ErrorBytesCounter(v int64) CounterValue {
42 return CounterValue{v, "bytes", "error"}
43}
44
45// ErrorCounter returns simple numeric CounterValue without units.
46func ErrorCounter(v int64) CounterValue {

Callers 1

testUITaskInternalFunction · 0.92

Calls

no outgoing calls

Tested by 1

testUITaskInternalFunction · 0.74