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/services/repository/files
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887)
This PR creates an API endpoint for creating/updating/deleting multiple
files in one API call similar to the solution provided by
[GitLab](https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions).

To archive this, the CreateOrUpdateRepoFile and DeleteRepoFIle functions
in files service are unified into one function supporting multiple files
and actions.

Resolves #14619
2 years ago
..
cherry_pick.go Add context cache as a request level cache (#22294) 2 years ago
commit.go Add context cache as a request level cache (#22294) 2 years ago
content.go fix submodule is nil panic (#23588) 2 years ago
content_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
file.go API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
file_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
patch.go Add context cache as a request level cache (#22294) 2 years ago
temp_repo.go Refactor git command package to improve security and maintainability (#22678) 2 years ago
tree.go Return empty url for submodule tree entries (#23043) 2 years ago
tree_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
update.go API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
upload.go Allow adding new files to an empty repo (#24164) 2 years ago