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

Function rootPath

scripts/devtools_paths.js:80–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 * to the devtools-frontend source code.
79 */
80export function rootPath() {
81 const {isInChromium, chromiumDirectory} = isInChromiumDirectory();
82 if (isInChromium) {
83 return chromiumDirectory;
84 }
85 return devtoolsRootPath();
86}
87
88/**
89 * Path to the third_party directory. Used because if we're running in Chromium

Callers 7

prepareBuildFunction · 0.90
gnArgsForTargetFunction · 0.90
gnRefsForTargetFunction · 0.90
buildFunction · 0.90
startFunction · 0.90
thirdPartyPathFunction · 0.85
devToolsThirdPartyPathFunction · 0.85

Calls 2

isInChromiumDirectoryFunction · 0.85
devtoolsRootPathFunction · 0.85

Tested by

no test coverage detected