gitea/modules/base
wxiaoguang fb1ad920b7
Refactor sha1 and time-limited code ()
Remove "EncodeSha1", it shouldn't be used as a general purpose hasher
(just like we have removed "EncodeMD5" in )

Rewrite the "time-limited code" related code and write better tests, the
old code doesn't seem quite right.
..
base.go Implement FSFE REUSE for golang files ()
natural_sort.go Improve natural sort ()
natural_sort_test.go Improve natural sort ()
tool.go Refactor sha1 and time-limited code ()
tool_test.go Refactor sha1 and time-limited code ()