0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 11:04:39 +01:00
gitea/modules/repository
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186)
* Ensure errors from IsDir propagate

* Handle errors when checking IsFile

* Handle and propagate errors from IsExist

* Update modules/templates/static.go

* Update modules/templates/static.go

* Return after ctx.ServerError

* Apply suggestions from code review

* Fix tests

The previous merge managed to break repo_form.go

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-27 21:42:08 -05:00
..
adopt.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
branch.go Handle more pathological branch and tag names (#11843) 2020-06-11 19:49:47 -04:00
cache.go Cache last commit when pushing for big repository (#10109) 2020-10-09 01:17:23 +03:00
check.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
commits.go
commits_test.go
create.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
create_test.go
fork.go Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
fork_test.go
generate.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
hooks.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
init.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
main_test.go
push.go Fix a bug on refactoring (#13373) 2020-10-31 23:42:54 +08:00
repo.go On Migration respect old DefaultBranch (#12843) 2020-09-15 22:37:44 +08:00
update.go