public Task <IReadOnlyList <Branch> > GetAllBranches(long repositoryId) { return(Branch.GetAll(repositoryId)); }
public Task <IReadOnlyList <Branch> > GetAllBranches(long repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); return(Branch.GetAll(repositoryId, options)); }
public Task <Branch> GetBranch(long repositoryId, string branchName) { Ensure.ArgumentNotNullOrEmptyString(branchName, "branchName"); return(Branch.Get(repositoryId, branchName)); }