1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
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 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 Use context parameter in services/repository (#23186) 2023-02-28 16:17:51 -06:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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