public static FileLinkSettings IssueFileLinkSettingsForAzureDevOpsCommit( this ICakeContext context, Uri repositoryUrl, string commitId, string rootPath) { context.NotNull(nameof(context)); repositoryUrl.NotNull(nameof(repositoryUrl)); commitId.NotNullOrWhiteSpace(nameof(commitId)); return (FileLinkSettings .ForAzureDevOps(repositoryUrl) .Commit(commitId) .WithRootPath(rootPath)); }
public static FileLinkSettings IssueFileLinkSettingsForAzureDevOpsBranch( this ICakeContext context, Uri repositoryUrl, string branch, string rootPath) { context.NotNull(nameof(context)); repositoryUrl.NotNull(nameof(repositoryUrl)); branch.NotNullOrWhiteSpace(nameof(branch)); return (FileLinkSettings .ForAzureDevOps(repositoryUrl) .Branch(branch) .WithRootPath(rootPath)); }