Exemplo n.º 1
0
 public Task <IReadOnlyList <Branch> > GetAllBranches(long repositoryId)
 {
     return(Branch.GetAll(repositoryId));
 }
Exemplo n.º 2
0
        public Task <IReadOnlyList <Branch> > GetAllBranches(long repositoryId, ApiOptions options)
        {
            Ensure.ArgumentNotNull(options, "options");

            return(Branch.GetAll(repositoryId, options));
        }
Exemplo n.º 3
0
        public Task <Branch> GetBranch(long repositoryId, string branchName)
        {
            Ensure.ArgumentNotNullOrEmptyString(branchName, "branchName");

            return(Branch.Get(repositoryId, branchName));
        }