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

Function push

graph-ui/src/compiler/question-classifier.ts:325–330  ·  view source on GitHub ↗
(name: string, from: Classification['subjectFrom'])

Source from the content-addressed store, hash-verified

323 const out: { name: string; from: Classification['subjectFrom'] }[] = [];
324 const seen = new Set<string>();
325 const push = (name: string, from: Classification['subjectFrom']): void => {
326 if (!seen.has(name)) {
327 seen.add(name);
328 out.push({ name, from });
329 }
330 };
331 for (const name of mentionsIn(question)) {
332 push(name, 'mention');
333 }

Callers 2

namedCandidatesFunction · 0.70
tracePathsMethod · 0.50

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected