Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 14:26:10 +01:00
forgejo/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
2023-09-01 11:26:07 +00:00
..
cherry_pick.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
commit.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
content.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
content_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
diff.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
diff_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
file.go API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
file_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
patch.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
temp_repo.go Fix some slice append usages (#26778) 2023-08-29 15:47:26 +00:00
tree.go Return empty url for submodule tree entries (#23043) 2023-02-21 12:31:17 -05:00
tree_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
update.go Sync repo's IsEmpty status correctly (#26517) 2023-08-17 04:43:39 +00:00
upload.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00