MCPcopy
hub / github.com/github/git-sizer / Humanable

Interface Humanable

counts/human.go:9–13  ·  view source on GitHub ↗

Humanable is a quantity that can be made human-readable using `Humaner.Format()`.

Source from the content-addressed store, hash-verified

7// Humanable is a quantity that can be made human-readable using
8// `Humaner.Format()`.
9type Humanable interface {
10 // ToUint64 returns the value as a uint64, and a boolean telling
11 // whether it overflowed.
12 ToUint64() (uint64, bool)
13}
14
15// Humaner is an object that can format a Humanable in human-readable
16// format.

Callers 3

FormatMethod · 0.65
levelOfConcernMethod · 0.65
MarshalJSONMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected