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

Function read

graph-ui/src/App.tsx:1509–1516  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1507 const closureBounds = useMemo(() => {
1508 const params = new URLSearchParams(window.location.search);
1509 const read = (name: string): number | undefined => {
1510 const raw = params.get(name);
1511 if (raw === null) {
1512 return undefined;
1513 }
1514 const value = Number.parseInt(raw, 10);
1515 return Number.isFinite(value) ? value : undefined;
1516 };
1517 return { depth: read(CLOSURE_DEPTH_PARAM), cap: read(CLOSURE_CAP_PARAM) };
1518 }, []);
1519

Callers 1

ProjectWindowViewFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected