mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
feat: add hash_info field to /fs/get (close #5259)
This commit is contained in:
@@ -218,3 +218,7 @@ func FromString(str string) HashInfo {
|
||||
func (hi HashInfo) GetHash(ht *HashType) string {
|
||||
return hi.h[ht]
|
||||
}
|
||||
|
||||
func (hi HashInfo) Export() map[*HashType]string {
|
||||
return hi.h
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user