MCPcopy
hub / github.com/kopia/kopia / ErrorCounter

Function ErrorCounter

internal/uitask/uitask_counter.go:46–48  ·  view source on GitHub ↗

ErrorCounter returns simple numeric CounterValue without units.

(v int64)

Source from the content-addressed store, hash-verified

44
45// ErrorCounter returns simple numeric CounterValue without units.
46func ErrorCounter(v int64) CounterValue {
47 return CounterValue{v, "", "error"}
48}

Callers 3

testUITaskInternalFunction · 0.92
StatsMethod · 0.92
UITaskCountersMethod · 0.92

Calls

no outgoing calls

Tested by 1

testUITaskInternalFunction · 0.74