forgejo/routers/api/v1
6543 3c5a4d094a
[API] Add branch delete (#11112)
* use same process as in routers/repo/branch.go/deleteBranch

* make sure default branch can not be deleted

* remove IsDefaultBranch from UI process - it is worth its own pull

* permissions
2020-04-19 10:38:09 +08:00
..
admin
misc
notify
org
repo [API] Add branch delete (#11112) 2020-04-19 10:38:09 +08:00
swagger
user
utils
api.go [API] Add branch delete (#11112) 2020-04-19 10:38:09 +08:00