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

Function testedPathOf

graph-ui/src/agents/agent-placement.ts:182–190  ·  view source on GitHub ↗
(command: string, index: PlacementIndex)

Source from the content-addressed store, hash-verified

180 * als Pfad, oder der Befehl hat keine bekannte Datei genannt.
181 */
182export function testedPathOf(command: string, index: PlacementIndex): string {
183 for (const token of command.split(/[\s'"`;,()]+/)) {
184 const candidate = normalizePath(token);
185 if (candidate.length > 0 && index.byPath.has(candidate)) {
186 return candidate;
187 }
188 }
189 return '';
190}
191
192/** Wo dieses Ereignis liegt. */
193export function placeEvent(

Callers 2

placeEventFunction · 0.85

Calls 1

normalizePathFunction · 0.70

Tested by

no test coverage detected