0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 10:44:30 +01:00
gitea/modules/templates
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
..
vars
base.go
dynamic.go
helper.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
helper_test.go
static.go
templates_bindata.go