forked from mirror/gitea
fb1ad920b7
Remove "EncodeSha1", it shouldn't be used as a general purpose hasher (just like we have removed "EncodeMD5" in #28622) Rewrite the "time-limited code" related code and write better tests, the old code doesn't seem quite right. |
||
---|---|---|
.. | ||
base.go | ||
natural_sort_test.go | ||
natural_sort.go | ||
tool_test.go | ||
tool.go |