MCPcopy Create free account
hub / github.com/vercel/vercel / format_bytes_long

Function format_bytes_long

packages/python-analysis/scripts/profile-wasm.py:106–108  ·  view source on GitHub ↗

Verbose byte size: '1,234 bytes (1.2 KB)'.

(n)

Source from the content-addressed store, hash-verified

104
105
106def format_bytes_long(n):
107 """Verbose byte size: '1,234 bytes (1.2 KB)'."""
108 return f"{n:,} bytes ({format_bytes(n)})"
109
110
111# ---------------------------------------------------------------------------

Callers 2

render_overviewFunction · 0.85
generate_plain_reportFunction · 0.85

Calls 1

format_bytesFunction · 0.85

Tested by

no test coverage detected