0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 19:15:37 +01: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.go
csv_test.go
gitdiff.go
gitdiff_test.go
main_test.go