diff options
author | Nick <nick.guenther@polymtl.ca> | 2023-02-12 02:08:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 15:08:10 +0800 |
commit | e1aca7cbddea61f0802810cd2a05fa121c3d15ef (patch) | |
tree | cd405aa2a759e5980e3ea9cfc584648d17a04c18 /docs | |
parent | b0f18726a34edeb47b6442ce06ebee102b9c8a83 (diff) | |
download | gitea-e1aca7cbddea61f0802810cd2a05fa121c3d15ef.tar.gz gitea-e1aca7cbddea61f0802810cd2a05fa121c3d15ef.zip |
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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions