IRepositoryInfoProvider.

GetRepositoryRemoteUrl(ICakeContext, DirectoryPath) Method

Summary

Returns the URL of the remote repository.

Syntax

Uri GetRepositoryRemoteUrl(ICakeContext context, DirectoryPath repositoryRootDirectory)

Parameters

Name Type Description
context ICakeContext The Cake context.
repositoryRootDirectory DirectoryPath Root directory of the repository.

Return Value

Type Description
Uri The URL of the remote repository.
GitHub