Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/error311/FileRise
/ formatSpeed
Function
formatSpeed
public/js/transferProgress.js:34–36 ·
view source on GitHub ↗
(bps)
Source
from the content-addressed store, hash-verified
32
}
33
34
function
formatSpeed(bps) {
35
return
`${formatBytes(bps)}/s`;
36
}
37
38
function
formatDuration(ms) {
39
const
total = Math.max(0, Math.floor(ms / 1000));
Callers
1
renderJob
Function · 0.85
Calls
1
formatBytes
Function · 0.70
Tested by
no test coverage detected