MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / megabytes

Function megabytes

graph-ui/src/projects/projects-model.ts:159–161  ·  view source on GitHub ↗
(bytes: number)

Source from the content-addressed store, hash-verified

157
158/** Megabytes with one decimal, for a size the server gave in bytes. */
159export function megabytes(bytes: number): string {
160 return (bytes / (1024 * 1024)).toFixed(1);
161}
162
163// ------------------------------------------------------------------- adr --
164

Callers 2

healthSentenceFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected