Function: getWebUrl()¶
getWebUrl(
url):string
Defined in: resolver/src/git-url-utils.ts:316
Get the web URL for a Git repository.
Parameters¶
url¶
string
Git URL
Returns¶
string
Web URL for browsing the repository
Example¶
getWebUrl('[email protected]:org/repo.git');
// 'https://github.com/org/repo'