MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / removeExtension

Function removeExtension

packages/alphatab/scripts/TypeSchema.ts:394–396  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

392}
393
394function removeExtension(fileName: string) {
395 return fileName.substring(0, fileName.lastIndexOf('.'));
396}
397
398const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
399const root = path.resolve(__dirname, '..');

Callers 1

toImportPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected