MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / devtoolsRootPath

Function devtoolsRootPath

scripts/devtools_paths.js:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 * If it's standalone, it will be /path/to/devtools-frontend
67 */
68export function devtoolsRootPath() {
69 return path.dirname(import.meta.dirname);
70}
71
72/**
73 * Returns the path to the root of the main repository we're in.

Callers 8

findVersionFromDepsFileFunction · 0.90
getLitAnalyzerResultFunction · 0.90
runEslintRulesTypeCheckFunction · 0.90
runTypeCheckFunction · 0.90
rootPathFunction · 0.85
nodeModulesPathFunction · 0.85
tsconfigJsonPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected