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
content.go
content_test.go
delete.go
diff.go
diff_test.go
file.go
file_test.go
patch.go
temp_repo.go
tree.go
tree_test.go
update.go
upload.go