mirror of https://github.com/go-gitea/gitea.git
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.
8820191476
Follow #23328 The improvements: 1. The `contains` functions are covered by tests 2. The inconsistent behavior of `containGeneric` is replaced by `StringUtils.Contains` and `SliceUtils.Contains` 3. In the future we can move more help functions into XxxUtils to simplify the `helper.go` and reduce unnecessary global functions. FAQ: 1. Why it's called `StringUtils.Contains` but not `strings.Contains` like Golang? Because our `StringUtils` is not Golang's `strings` package. There will be our own string functions. --------- Co-authored-by: silverwind <me@silverwind.io> |
2 years ago | |
---|---|---|
.. | ||
actions | 2 years ago | |
branch | 2 years ago | |
cite | 2 years ago | |
diff | 2 years ago | |
editor | 2 years ago | |
find | 2 years ago | |
graph | 2 years ago | |
issue | 2 years ago | |
migrate | 2 years ago | |
projects | 2 years ago | |
pulls | 2 years ago | |
release | 2 years ago | |
settings | 2 years ago | |
wiki | 2 years ago | |
activity.tmpl | 2 years ago | |
blame.tmpl | 2 years ago | |
branch_dropdown.tmpl | 2 years ago | |
clone_buttons.tmpl | 2 years ago | |
clone_script.tmpl | 2 years ago | |
commit_page.tmpl | 2 years ago | |
commit_status.tmpl | 2 years ago | |
commit_statuses.tmpl | 2 years ago | |
commits.tmpl | 2 years ago | |
commits_list.tmpl | 2 years ago | |
commits_list_small.tmpl | 2 years ago | |
commits_table.tmpl | 2 years ago | |
create.tmpl | 2 years ago | |
create_helper.tmpl | ||
empty.tmpl | 2 years ago | |
file_info.tmpl | 2 years ago | |
forks.tmpl | 2 years ago | |
graph.tmpl | 2 years ago | |
header.tmpl | 2 years ago | |
home.tmpl | 2 years ago | |
icon.tmpl | 2 years ago | |
packages.tmpl | ||
search.tmpl | 2 years ago | |
search_name.tmpl | 2 years ago | |
shabox_badge.tmpl | 2 years ago | |
sub_menu.tmpl | 2 years ago | |
unicode_escape_prompt.tmpl | 2 years ago | |
upload.tmpl | ||
user_cards.tmpl | 2 years ago | |
view_file.tmpl | 2 years ago | |
view_list.tmpl | 2 years ago | |
watchers.tmpl |