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
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859)
Just like `models/unittest`, the testing helper functions should be in a
separate package: `contexttest`

And complete the TODO:

> // TODO: move this function to other packages, because it depends on
"models" package
1 year 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 Replace `interface{}` with `any` (#25686) 2 years ago
content_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
diff.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
file.go API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
file_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
patch.go Sync branches into databases (#22743) 2 years ago
temp_repo.go Fix some slice append usages (#26778) 1 year ago
tree.go Return empty url for submodule tree entries (#23043) 2 years ago
tree_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
update.go Sync repo's IsEmpty status correctly (#26517) 1 year ago
upload.go Allow adding new files to an empty repo (#24164) 2 years ago