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

Method toBuildableString

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

Source from the content-addressed store, hash-verified

89 }
90
91 toBuildableString(): string {
92 const repoPrefix = this.apparentRepo ? `@${this.apparentRepo}` : '';
93 if (this.name) {
94 return `${repoPrefix}${this.target}:${this.name}`;
95 } else {
96 return repoPrefix + this.target;
97 }
98 }
99}
100
101class BazelCommandCache {

Callers 1

syncPathsByLabelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected