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

Function removeExtension

packages/alphatab/scripts/CloneEmitter.ts:11–13  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

9import { createNodeFromSource } from '@coderline/alphatab-transpiler/src/BuilderHelpers';
10
11function removeExtension(fileName: string) {
12 return fileName.substring(0, fileName.lastIndexOf('.'));
13}
14
15function toImportPath(fileName: string) {
16 return `@${removeExtension(fileName).split('\\').join('/')}`.replace('@src/', '@coderline/alphatab/');

Callers 1

toImportPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected