MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getProjectAppVirtualPath

Function getProjectAppVirtualPath

packages/vite/helpers/utils.ts:154–157  ·  view source on GitHub ↗
(subPath = '')

Source from the content-addressed store, hash-verified

152}
153
154export function getProjectAppVirtualPath(subPath = ''): string {
155 const rel = getProjectAppRelativePath(subPath).replace(/^\/+/, '');
156 return `/${rel.replace(/\/+/g, '/')}`;
157}

Callers 7

main-entry.tsFile · 0.85
global-defines.tsFile · 0.85
strategy.tsFile · 0.85
strategy.tsFile · 0.85
strategy.tsFile · 0.85
strategy.spec.tsFile · 0.85
websocket.tsFile · 0.85

Calls 2

replaceMethod · 0.80

Tested by

no test coverage detected