MCPcopy Create free account
hub / github.com/vercel/vercel / formatProvider

Function formatProvider

packages/cli/src/util/git/connect-git-provider.ts:99–110  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

97}
98
99export function formatProvider(type: string): string {
100 switch (type) {
101 case 'github':
102 return 'GitHub';
103 case 'gitlab':
104 return 'GitLab';
105 case 'bitbucket':
106 return 'Bitbucket';
107 default:
108 return type;
109 }
110}
111
112export function buildRepoUrl(
113 provider: string,

Callers 5

useUnknownProjectFunction · 0.90
useProjectFunction · 0.90
connectGitProviderFunction · 0.85
checkExistsAndConnectFunction · 0.85
confirmRepoConnectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected