This will enable rclone to manage directories properly in the future.
This commit is contained in:
parent
c41b67ea08
commit
aaa1370a36
34 changed files with 220 additions and 89 deletions
|
@ -201,7 +201,7 @@ func (r *Run) WriteObjectTo(f fs.Fs, remote, content string, modTime time.Time,
|
|||
}
|
||||
const maxTries = 10
|
||||
if !r.mkdir[f.String()] {
|
||||
err := f.Mkdir()
|
||||
err := f.Mkdir("")
|
||||
if err != nil {
|
||||
r.Fatalf("Failed to mkdir %q: %v", f, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue