forgejo/modules/repository
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-28 01:38:53 +00:00
..
branch.go
collaborator.go
collaborator_test.go
commits.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
create.go
create_test.go
delete.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
env.go
fork.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
generate.go
generate_test.go
hooks.go
init.go
init_test.go
license.go
license_test.go
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
push.go
repo.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
temp.go