MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / serverGetReposForWorkspace

Function serverGetReposForWorkspace

packages/backend/src/bitbucket.ts:467–474  ·  view source on GitHub ↗
(client: BitbucketClient, workspaces: string[])

Source from the content-addressed store, hash-verified

465}
466
467async function serverGetReposForWorkspace(client: BitbucketClient, workspaces: string[]): Promise<{repos: ServerRepository[], warnings: string[]}> {
468 const warnings = workspaces.map(workspace => `Workspaces are not supported in Bitbucket Server: ${workspace}`);
469 logger.debug('Workspaces are not supported in Bitbucket Server');
470 return {
471 repos: [],
472 warnings
473 };
474}
475
476async function serverGetReposForProjects(client: BitbucketClient, projects: string[]): Promise<{repos: ServerRepository[], warnings: string[]}> {
477 const results = await Promise.allSettled(projects.map(async (project) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected