mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-23 18:47:03 +08:00
feat: add copy to task manager
This commit is contained in:
@@ -50,5 +50,7 @@ type Writer interface {
|
||||
// Remove remove `object`
|
||||
Remove(ctx context.Context, obj model.Obj) error
|
||||
// Put upload `stream` to `parentDir`
|
||||
Put(ctx context.Context, parentDir model.Obj, stream model.FileStreamer) error
|
||||
Put(ctx context.Context, parentDir model.Obj, stream model.FileStreamer, up UpdateProgress) error
|
||||
}
|
||||
|
||||
type UpdateProgress func(percentage float64)
|
||||
|
||||
Reference in New Issue
Block a user