Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ fmt
Function
fmt
scripts/memwaste-report.py:205–208 ·
view source on GitHub ↗
(v: float, unit: str)
Source
from the content-addressed store, hash-verified
203
204
205
def
fmt(v: float, unit: str) -> str:
206
if
unit ==
"bytes"
:
207
return
f
"{v / MB:,.1f} MB"
208
return
f
"{v:,.0f} {unit}"
209
210
211
SITE_SORTS = {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected