Implement Backblaze B2 - fixes #224

This commit is contained in:
Nick Craig-Wood
2015-12-30 10:05:07 +00:00
parent 113624691a
commit 33b3eea6ec
16 changed files with 1530 additions and 12 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func NewFs(name, root string) (fs.Fs, error) {
f := &Fs{
name: name,
root: root,
srv: rest.NewClient(oAuthClient, rootURL),
srv: rest.NewClient(oAuthClient).SetRoot(rootURL),
pacer: pacer.New().SetMinSleep(minSleep).SetMaxSleep(maxSleep).SetDecayConstant(decayConstant),
}
f.srv.SetErrorHandler(errorHandler)