mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
feat(google_drive): add hash_info, ctime, thumbnail (#5334)
This commit is contained in:
@@ -184,6 +184,10 @@ type HashInfo struct {
|
||||
h map[*HashType]string `json:"hashInfo"`
|
||||
}
|
||||
|
||||
func NewHashInfoByMap(h map[*HashType]string) HashInfo {
|
||||
return HashInfo{h}
|
||||
}
|
||||
|
||||
func NewHashInfo(ht *HashType, str string) HashInfo {
|
||||
m := make(map[*HashType]string)
|
||||
if ht != nil {
|
||||
|
||||
Reference in New Issue
Block a user