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

Function stemOf

src/ui-server/api/map.ts:225–228  ·  view source on GitHub ↗
(basename: string)

Source from the content-addressed store, hash-verified

223}
224
225function stemOf(basename: string): string {
226 const dot = basename.indexOf('.');
227 return dot <= 0 ? basename : basename.slice(0, dot);
228}
229
230/**
231 * Directories a module boundary never falls on: exactly one subdirectory and

Callers 1

moduleIdForFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected