forgejo/modules/repository
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797)
* Refactor AssertExistsAndLoadBean to use generics

* Fix tests

Co-authored-by: zeripath <art27@cantab.net>
2022-08-16 10:22:25 +08:00
..
commits.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
commits_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
create.go Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
create_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
delete.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
env.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
fork.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
generate.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
generate_test.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
hooks.go Executable check always returns true for windows (#20637) 2022-08-04 15:28:32 +08:00
init.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
push.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
repo.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
temp.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00