1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-29 22:55:55 +00:00
gitea/services/gitdiff
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
..
testdata/academic-module
csv_test.go
csv.go
gitdiff_test.go
gitdiff.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00