0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 00:05:40 +01:00
gitea/routers
Nick 6aef9e0a2f
Replace repo.namedBlob by git.TreeEntry. (#22898)
`namedBlob` turned out to be a poor imitation of a `TreeEntry`. Using
the latter directly shortens this code.

This partially undoes https://github.com/go-gitea/gitea/pull/23152/,
which I found a merge conflict with, and also expands the test it added
to cover the subtle README-in-a-subfolder case.
2023-03-15 16:51:39 -05:00
..
api Add login name and source id for admin user searching API (#23376) 2023-03-15 19:53:01 +08:00
common Support sanitising the URL by removing extra slashes in the URL (#21333) 2023-03-04 21:31:24 +08:00
install Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
private
utils
web Replace repo.namedBlob by git.TreeEntry. (#22898) 2023-03-15 16:51:39 -05:00
init.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00