Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fibi66/FeiControl
/ formatBytes
Function
formatBytes
src/components/SystemInfo.tsx:29–32 ·
view source on GitHub ↗
(bytes: number)
Source
from the content-addressed store, hash-verified
27
}
28
29
function formatBytes(bytes: number): string {
30
const gb = bytes / (1024 * 1024 * 1024);
31
return `${gb.toFixed(1)} GB`;
32
}
33
34
export function SystemInfo({ data }: SystemInfoProps) {
35
if (!data) {
Callers
1
SystemInfo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected