githaven-fork/services/repository
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654)
* Calculate hash only once.

* remove unused Sha1 template helper function, use ctx.Data["FileNameHash"]

* fix unit tests
2022-05-09 00:29:50 +02:00
..
archiver Prevent dangling archiver goroutine (#19516) 2022-04-26 19:22:26 -04:00
files Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
adopt_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
adopt.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
avatar_test.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
avatar.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
branch.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
cache.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
check.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
fork_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
fork.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
hooks.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
push.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
repository.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
template.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
transfer_test.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
transfer.go PullService lock via pullID (#19520) 2022-05-04 18:06:23 +02:00