mirror of https://github.com/go-gitea/gitea.git
2a828e2798
In history (from some legacy frameworks), both `:name` and `name` are supported as path path name, `:name` is an alias to `name`. To make code consistent, now we should only use `name` but not `:name`. Also added panic check in related functions to make sure the name won't be abused in case some downstreams still use them. |
||
---|---|---|
.. | ||
archiver | ||
commitstatus | ||
files | ||
adopt.go | ||
adopt_test.go | ||
avatar.go | ||
avatar_test.go | ||
branch.go | ||
cache.go | ||
check.go | ||
collaboration.go | ||
collaboration_test.go | ||
commit.go | ||
contributors_graph.go | ||
contributors_graph_test.go | ||
create.go | ||
delete.go | ||
delete_test.go | ||
fork.go | ||
fork_test.go | ||
generate.go | ||
generate_test.go | ||
hooks.go | ||
init.go | ||
lfs.go | ||
lfs_test.go | ||
license.go | ||
license_test.go | ||
main_test.go | ||
merge_upstream.go | ||
migrate.go | ||
push.go | ||
repo_team.go | ||
repo_team_test.go | ||
repository.go | ||
repository_test.go | ||
setting.go | ||
template.go | ||
transfer.go | ||
transfer_test.go |