1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 16:14:26 +00:00
gitea/services/repository/files
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
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
commit.go Auto merge pull requests when all checks succeeded via API (#9307) 2022-05-08 01:05:52 +08:00
content_test.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
content.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
delete.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
diff_test.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
diff.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
patch.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
temp_repo.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
update.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
upload.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00