0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-26 08:30:32 +01: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
commit.go Auto merge pull requests when all checks succeeded via API (#9307) 2022-05-08 01:05:52 +08:00
content_test.go
content.go
delete.go
diff_test.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
diff.go
file_test.go
file.go
patch.go
temp_repo.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
tree_test.go
tree.go
update.go
upload.go