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