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

Function basename

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

Source from the content-addressed store, hash-verified

1659}
1660
1661function basename(p: string): string {
1662 const s = posix(p);
1663 return s.slice(s.lastIndexOf('/') + 1);
1664}
1665
1666/**
1667 * Function-as-value references — and, for a value, calls — made at a file's

Callers 3

requestTriggerFunction · 0.70
consumerTriggerFunction · 0.70
stepForFunction · 0.70

Calls 1

posixFunction · 0.85

Tested by

no test coverage detected