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

Function getFacts

graph-ui/src/provider/closure.test.ts:114–126  ·  view source on GitHub ↗
(
            _root: string,
            symbol: SymbolRef,
            kinds: string[],
            _opts?: ProviderQueryOptions,
        )

Source from the content-addressed store, hash-verified

112 resolveCalls,
113 unresolvable,
114 async getFacts(
115 _root: string,
116 symbol: SymbolRef,
117 kinds: string[],
118 _opts?: ProviderQueryOptions,
119 ): Promise<SymbolFacts> {
120 expect(kinds).toEqual(['callees']);
121 factCalls.push(symbol.qualifiedName ?? symbol.name);
122 const short = (symbol.qualifiedName ?? '').slice(PROJECT.length + 1);
123 return {
124 callees: { value: graph[short] ?? [], state: 'known', evidence: [] },
125 };
126 },
127 async resolveSymbolAt(
128 _root: string,
129 filePath: string,

Callers

nothing calls this directly

Calls 2

expectFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected