MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getWorkspaceRoot

Method getWorkspaceRoot

npm_modules/cli/src/utils/BazelClient.ts:145–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143 }
144
145 async getWorkspaceRoot(): Promise<string> {
146 return this.workspaceRootCache.get(process.cwd());
147 }
148
149 async getExecutionRoot(): Promise<string> {
150 return this.executionRootCache.get(process.cwd());

Callers 7

resolveTargetMethod · 0.95
valdiPreviewFunction · 0.95
getOutputFilePathFunction · 0.80
processLaunchJSONFileFunction · 0.80
runProjectSyncFunction · 0.80
getBazelWorkspaceRootFunction · 0.80
hotreloadResolvedTargetFunction · 0.80

Calls 2

cwdMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected