mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Test: share related operation in filesystem
This commit is contained in:
@@ -54,7 +54,6 @@ func HashID(id uint, t int) string {
|
||||
}
|
||||
|
||||
// DecodeHashID 计算HashID对应的数据库ID
|
||||
// TODO 测试
|
||||
func DecodeHashID(id string, t int) (uint, error) {
|
||||
v, _ := HashDecode(id)
|
||||
if len(v) != 2 || v[1] != t {
|
||||
|
||||
Reference in New Issue
Block a user