MCPcopy Create free account
hub / github.com/prometheus/procfs / Len

Method Len

proc.go:45–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43)
44
45func (p Procs) Len() int { return len(p) }
46func (p Procs) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
47func (p Procs) Less(i, j int) bool { return p[i].PID < p[j].PID }
48

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected