MCPcopy
hub / github.com/jonaskello/tsconfig-paths / removeExtension

Function removeExtension

src/filesystem.ts:91–93  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

89}
90
91export function removeExtension(path: string): string {
92 return path.substring(0, path.lastIndexOf(".")) || path;
93}

Callers 2

getStrippedPathFunction · 0.90
match-path-data.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…