MCPcopy Create free account
hub / github.com/prometheus/common / Less

Method Less

model/fingerprinting.go:54–56  ·  view source on GitHub ↗

Less implements sort.Interface.

(i, j int)

Source from the content-addressed store, hash-verified

52
53// Less implements sort.Interface.
54func (f Fingerprints) Less(i, j int) bool {
55 return f[i] < f[j]
56}
57
58// Swap implements sort.Interface.
59func (f Fingerprints) Swap(i, j int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected