MCPcopy Create free account
hub / github.com/basecamp/omarchy / formatRate

Function formatRate

shell/plugins/panels/network/Model.js:249–251  ·  view source on GitHub ↗
(bytesPerSec)

Source from the content-addressed store, hash-verified

247}
248
249function formatRate(bytesPerSec) {
250 return formatBytes(bytesPerSec) + "/s"
251}
252
253// `hasSamples` false means no probe has come back yet, which is different from
254// a probe that timed out. The rows stay mounted through that gap and read "--"

Callers

nothing calls this directly

Calls 1

formatBytesFunction · 0.70

Tested by

no test coverage detected