You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/repo
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>
2 years ago
..
actions Fix improper HTMLURL usages in Go code (#22839) 2 years ago
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
commit.go
compare.go
download.go
editor.go
editor_test.go
find.go
http.go
http_test.go
issue.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_content_history.go
issue_dependency.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_label.go
issue_label_test.go
issue_lock.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_stopwatch.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_test.go
issue_timetrack.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_watch.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go Preview images for Issue cards in Project Board view (#22112) 2 years ago
projects_test.go
pull.go
pull_review.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
release.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
release_test.go
render.go
repo.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
runners.go
search.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
setting.go
setting_protected_branch.go
setting_secrets.go
settings_test.go
tag.go
topic.go
treelist.go
view.go Deduplicate findReadmeFile() (#22177) 2 years ago
view_test.go
webhook.go
wiki.go
wiki_test.go