MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / last

Function last

src/ui-server/api/steps.ts:472–472  ·  view source on GitHub ↗
(n: string)

Source from the content-addressed store, hash-verified

470 // every call in the handler read as written inside it, and so as running
471 // first. A miss is a bare position: no span to nest by, no `within`.
472 const last = (n: string) => n.replace(/\([^()]*\)/g, '').split(/[.:]/).pop() ?? n;
473 const usable = read !== null && (!callee || last(read.callee) === last(callee));
474 if (!usable) return { file: caller.filePath, line, column, end: { line, column }, within: null };
475 return {

Callers 3

hopAtFunction · 0.85
firedByEffectFunction · 0.85
effectLinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected