MCPcopy
hub / github.com/kopia/kopia / OptionalInt64

TypeAlias OptionalInt64

snapshot/policy/optional.go:37–37  ·  view source on GitHub ↗

OptionalInt64 provides convenience methods for manipulating optional integers.

Source from the content-addressed store, hash-verified

35
36// OptionalInt64 provides convenience methods for manipulating optional integers.
37type OptionalInt64 int64
38
39// OrDefault returns the value of the integer or provided default if it's nil.
40func (b *OptionalInt64) OrDefault(def int64) int64 {

Callers 3

applyOptionalInt64MiBFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected