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

Function isExternalLabel

npm_modules/cli/src/commands/projectsync.ts:110–112  ·  view source on GitHub ↗
(workspaceInfo: BazelWorkspaceInfo, label: BazelLabel)

Source from the content-addressed store, hash-verified

108}
109
110function isExternalLabel(workspaceInfo: BazelWorkspaceInfo, label: BazelLabel): boolean {
111 return !!label.repo && label.repo !== workspaceInfo.workspaceName;
112}
113
114function getSymlinkedBazelExecutionRoot(workspaceInfo: BazelWorkspaceInfo): string {
115 return path.join(workspaceInfo.workspaceRoot, `bazel-${path.basename(workspaceInfo.workspaceRoot)}`);

Callers 2

bazelLabelToAbsolutePathFunction · 0.85
runProjectSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected