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

Function createAzureDevOpsConnection

packages/backend/src/azuredevops.ts:20–26  ·  view source on GitHub ↗
(
    orgUrl: string,
    token: string,
)

Source from the content-addressed store, hash-verified

18}
19
20function createAzureDevOpsConnection(
21 orgUrl: string,
22 token: string,
23): azdev.WebApi {
24 const authHandler = azdev.getPersonalAccessTokenHandler(token);
25 return new azdev.WebApi(orgUrl, authHandler);
26}
27
28export const getAzureDevOpsReposFromConfig = async (
29 config: AzureDevOpsConnectionConfig,

Callers 1

fetchFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected