forgejo/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
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