public Task <Branch> GetBranch(string owner, string name, string branchName) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); Ensure.ArgumentNotNullOrEmptyString(branchName, "branchName"); return(Branch.Get(owner, name, branchName)); }
public Task <Branch> GetBranch(long repositoryId, string branchName) { Ensure.ArgumentNotNullOrEmptyString(branchName, "branchName"); return(Branch.Get(repositoryId, branchName)); }