gitea/services/repository/files
wxiaoguang 2a828e2798
Clarify path param naming (#32969)
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.
2024-12-24 13:47:45 +00:00
..
cherry_pick.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
commit.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-06 12:17:19 +00:00
content.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
content_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
diff.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
diff_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
file.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
file_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
patch.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
temp_repo.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
tree.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
tree_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
update.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
upload.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00