mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-19 16:46:30 +08:00
feat: add progress for task
This commit is contained in:
@@ -53,4 +53,4 @@ type Writer interface {
|
||||
Put(ctx context.Context, parentDir model.Obj, stream model.FileStreamer, up UpdateProgress) error
|
||||
}
|
||||
|
||||
type UpdateProgress func(percentage float64)
|
||||
type UpdateProgress func(percentage int)
|
||||
|
||||
Reference in New Issue
Block a user