0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 10:24:38 +01:00
gitea/routers
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
..
api Admin should not delete himself (#19423) 2022-05-08 21:22:55 +01:00
common
install
private
utils
web Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
init.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00