Example #1
0
        public BranchRemovalStatus Delete(string name)
        {
            var errorMessage = _api.Delete().To <string>(_repoPath + "/branches/" + name);

            return(BranchRemovalStatus.FromReponseMessage(errorMessage));
        }
Example #2
0
 public void Delete(int hookId)
 {
     _api.Delete().To <ProjectHook>(_path + "/" + hookId);
 }
Example #3
0
        public bool DeleteTag(String tagName)
        {
            Tag tag = _api.Delete().To <Tag>(_repoPath + "/tags/" + tagName);

            return(tag == null || tag.Commit == null);
        }
Example #4
0
 public void Delete(int id)
 {
     _api.Delete().To <Namespace>(Namespace.Url + "/" + id);
 }
Example #5
0
 public void Delete(FileDelete file)
 {
     _api.Delete().With(file).Stream(_repoPath + "/files", s => { });
 }
Example #6
0
 public void Delete(int userId)
 {
     _api.Delete().To <User>(User.Url + "/" + userId);
 }
Example #7
0
 public bool Delete(int id)
 {
     return(_api.Delete().To <Project>(Project.Url + "/" + id) == null);
 }
Example #8
0
 public bool Delete(int id)
 {
     return(_api.Delete().To <bool>(Project.Url + "/" + id));
 }
Example #9
0
 public void Delete(int id)
 {
     _api.Delete().To <Project>(Project.Url + "/" + id);
 }
Example #10
0
 public Label Delete(LabelDelete label)
 {
     return(_api.Delete().With(label).To <Label>(string.Format(ProjectLabelUrl, label.Id)));
 }