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

Function ensureAppRootPath

packages/core/utils/debug-source.ts:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25let applicationRootPath: string;
26function ensureAppRootPath() {
27 if (!applicationRootPath) {
28 applicationRootPath = getCurrentAppPath();
29 applicationRootPath = applicationRootPath.substring(0, applicationRootPath.length - 'app/'.length);
30 }
31}
32
33export class Source {
34 private _uri: string;

Callers 1

constructorMethod · 0.85

Calls 1

getCurrentAppPathFunction · 0.70

Tested by

no test coverage detected