0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 14:34:32 +01:00
gitea/routers
Nick e1aca7cbdd
Deduplicate findReadmeFile() (#22177)
This code was copy-pasted at some point. Revisit it to reunify it.

~~Doing that then encouraged simplifying the types of a couple of
related functions.~~

~~As a follow-up, move two helper functions, `isReadmeFile()` and
`isReadmeFileExtension()`, intimately tied to `findReadmeFile()`, in as
package-private.~~

Signed-off-by: Nick Guenther <nick.guenther@polymtl.ca>
2023-02-12 15:08:10 +08:00
..
api
common
install
private
utils
web Deduplicate findReadmeFile() (#22177) 2023-02-12 15:08:10 +08:00
init.go