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

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

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