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

Function getFileUrlFromFullPath

packages/vite/src/bridge/build.ts:35–35  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

33 );
34
35const getFileUrlFromFullPath = (path: string) => `require('u' + 'rl').pathToFileURL(${path}).href`;
36
37const getFileUrlFromRelativePath = (path: string) => getFileUrlFromFullPath(`__dirname + '/${escapeId(path)}'`);
38

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected