mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-07-18 17:38:07 +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