Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/botbotrobotics/BotBrain
/ formatDataRate
Function
formatDataRate
frontend/src/utils/format-utils.tsx:34–36 ·
view source on GitHub ↗
(bytesPerSec: number)
Source
from the content-addressed store, hash-verified
32
* @returns Formatted string with appropriate units (Bps, KBps, MBps)
33
*/
34
export function formatDataRate(bytesPerSec: number): string {
35
return `${formatBytes(bytesPerSec)}/s`;
36
}
Callers
5
DataInIndicator
Function · 0.90
DataOutIndicator
Function · 0.90
DataInIndicatorDetailed
Function · 0.90
DataOutIndicatorDetailed
Function · 0.90
HealthPage
Function · 0.90
Calls
1
formatBytes
Function · 0.85
Tested by
no test coverage detected