0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 19:34:33 +01:00
gitea/routers/web
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
..
admin Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
auth Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
events
explore Remove ONLY_SHOW_RELEVANT_REPOS setting (#21962) 2023-02-04 21:26:38 +08:00
feed Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
healthcheck
misc
org Preview images for Issue cards in Project Board view (#22112) 2023-02-11 16:12:41 +08:00
repo Deduplicate findReadmeFile() (#22177) 2023-02-12 15:08:10 +08:00
shared Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
user Fix improper HTMLURL usages in Go code (#22839) 2023-02-11 14:34:11 +08:00
auth.go
auth_windows.go
base.go
goget.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
webfinger.go