gitea/routers
Nick 6aef9e0a2f
Replace `repo.namedBlob` by `git.TreeEntry`. ()
`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 () 2023-03-15 19:53:01 +08:00
common Support sanitising the URL by removing extra slashes in the URL () 2023-03-04 21:31:24 +08:00
install Set `X-Gitea-Debug` header once () 2023-03-08 15:40:04 -05:00
private Use context parameter in services/repository () 2023-02-28 16:17:51 -06:00
utils Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Replace `repo.namedBlob` by `git.TreeEntry`. () 2023-03-15 16:51:39 -05:00
init.go Refactor `setting.Database.UseXXX` to methods () 2023-03-07 18:51:06 +08:00