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

Method queryTargetsForKinds

npm_modules/cli/src/utils/BazelClient.ts:153–160  ·  view source on GitHub ↗
(kinds: string[])

Source from the content-addressed store, hash-verified

151
152 constructor() {
153 this.workspaceRootCache = new BazelCommandCache(async () => {
154 return this.runCommandAndGetTrimmedStdOut('info workspace');
155 });
156
157 this.executionRootCache = new BazelCommandCache(async () => {
158 return this.runCommandAndGetTrimmedStdOut('info execution_root');
159 });
160 }
161
162 async resolveLabel(str: string): Promise<BazelLabel> {
163 const unresolvedLabel = BazelLabel.fromString(str);

Callers

nothing calls this directly

Calls 4

spawnCommandMethod · 0.95
filterMethod · 0.80
splitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected