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

Function last

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

Source from the content-addressed store, hash-verified

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

Callers 3

hopAtFunction · 0.85
firedByEffectFunction · 0.85
effectLinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected