fix(driver): implement canceling and updating progress for putting for some drivers (#7847)
* fix(driver): additionally implement canceling and updating progress for putting for some drivers * refactor: add driver archive api into template * fix(123): use built-in MD5 to avoid caching full * . * fix build failed
This commit is contained in:
@ -161,6 +161,7 @@ func (d *Wopan) Put(ctx context.Context, dstDir model.Obj, stream model.FileStre
|
||||
OnProgress: func(current, total int64) {
|
||||
up(100 * float64(current) / float64(total))
|
||||
},
|
||||
Ctx: ctx,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user