feat: check parent dir before upload

This commit is contained in:
Noah Hsu
2022-06-15 19:20:36 +08:00
parent 083395ee53
commit d9eb188b7a
2 changed files with 22 additions and 7 deletions

View File

@ -1,12 +1,10 @@
// manage task, such as file upload, file copy between accounts, offline download, etc.
package task
import "context"
type Task struct {
Name string
Func func(context.Context) error
Status string
Error error
Finish bool
Name string
Status string
Error error
Finish bool
Children []*Task
}