Commit Graph

3 Commits (e81edc02b9e93f625b9767386bbef6761f7bc291)

Author SHA1 Message Date
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
* 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>
zeripath ee1d64ddd1
Stop using git count-objects and use raw directory size for repository ()
* Migrate from git count-objects to a raw directory size
* As per @guillep2k ignore unusual files
Ethan Koenig 5866eb2321 Code/repo search ()
Indexed search of repository contents (for default branch only)