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

Function unit

graph-ui/src/galaxy/galaxy-strings.ts:158–158  ·  view source on GitHub ↗
(kind: 'nodes' | 'edges', value: number)

Source from the content-addressed store, hash-verified

156 expandHint: (outlook: ExpandOutlook, past: { limit: 'nodes' | 'edges'; by: 'calls' | 'growth' } | undefined) => {
157 const { layer, frontier, estimate, calls, loaded, limits } = outlook;
158 const unit = (kind: 'nodes' | 'edges', value: number) => count(value, kind === 'nodes' ? 'node' : 'edge', kind);
159 const evidence = calls === undefined
160 ? `Growing like the last layer it adds about ${estimate.toLocaleString()} nodes, and a hub can add many more`
161 : `The index lists ${count(calls, 'call', 'calls')} at them that ${calls === 1 ? 'is' : 'are'} not loaded yet`

Callers 1

galaxy-strings.tsFile · 0.70

Calls 1

countFunction · 0.70

Tested by

no test coverage detected