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

Function counted

graph-ui/src/galaxy/graph-scope.ts:151–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 const previous = options.previous?.traversalKey === traversalKey && options.previous.depth <= depth && !options.previous.partial ? options.previous : undefined;
150 let requests = 0;
151 const counted = () => { requests += 1; };
152 const cachedNode = scope.kind === 'node' ? options.cache?.node(scope.id) : undefined;
153 let rootNodes = cachedNode && cachedNode.qualified_name === (scope.kind === 'node' ? scope.qualifiedName ?? known.get(scope.id)?.qualified_name : '')
154 ? [cachedNode] : options.cache?.roots(predicate);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected