From 92624bbbf1883f2b166183631911ca2f25df4489 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 11 Jan 2018 16:05:41 +0000 Subject: [PATCH] Move all backends into backend directory --- backend/box/box.go | 2 ++ backend/hubic/hubic.go | 2 ++ backend/onedrive/onedrive.go | 5 +++++ backend/pcloud/pcloud.go | 5 +++++ backend/webdav/webdav.go | 3 +++ backend/yandex/yandex.go | 2 ++ 6 files changed, 19 insertions(+) diff --git a/backend/box/box.go b/backend/box/box.go index 2ca6e35a2..029454633 100644 --- a/backend/box/box.go +++ b/backend/box/box.go @@ -22,6 +22,8 @@ import ( "time" "github.com/ncw/rclone/backend/box/api" + "github.com/ncw/rclone/box/api" + "github.com/ncw/rclone/dircache" "github.com/ncw/rclone/fs" "github.com/ncw/rclone/lib/dircache" "github.com/ncw/rclone/lib/oauthutil" diff --git a/backend/hubic/hubic.go b/backend/hubic/hubic.go index 26e4fb31e..110f2d563 100644 --- a/backend/hubic/hubic.go +++ b/backend/hubic/hubic.go @@ -16,6 +16,8 @@ import ( "github.com/ncw/rclone/backend/swift" "github.com/ncw/rclone/fs" "github.com/ncw/rclone/lib/oauthutil" + "github.com/ncw/rclone/oauthutil" + "github.com/ncw/rclone/swift" swiftLib "github.com/ncw/swift" "github.com/pkg/errors" "golang.org/x/oauth2" diff --git a/backend/onedrive/onedrive.go b/backend/onedrive/onedrive.go index 52cd11923..336fa61d3 100644 --- a/backend/onedrive/onedrive.go +++ b/backend/onedrive/onedrive.go @@ -15,11 +15,16 @@ import ( "time" "github.com/ncw/rclone/backend/onedrive/api" + "github.com/ncw/rclone/dircache" "github.com/ncw/rclone/fs" "github.com/ncw/rclone/lib/dircache" "github.com/ncw/rclone/lib/oauthutil" "github.com/ncw/rclone/lib/pacer" "github.com/ncw/rclone/lib/rest" + "github.com/ncw/rclone/oauthutil" + "github.com/ncw/rclone/onedrive/api" + "github.com/ncw/rclone/pacer" + "github.com/ncw/rclone/rest" "github.com/pkg/errors" "golang.org/x/oauth2" ) diff --git a/backend/pcloud/pcloud.go b/backend/pcloud/pcloud.go index 1128b4f83..636821fb8 100644 --- a/backend/pcloud/pcloud.go +++ b/backend/pcloud/pcloud.go @@ -22,11 +22,16 @@ import ( "time" "github.com/ncw/rclone/backend/pcloud/api" + "github.com/ncw/rclone/dircache" "github.com/ncw/rclone/fs" "github.com/ncw/rclone/lib/dircache" "github.com/ncw/rclone/lib/oauthutil" "github.com/ncw/rclone/lib/pacer" "github.com/ncw/rclone/lib/rest" + "github.com/ncw/rclone/oauthutil" + "github.com/ncw/rclone/pacer" + "github.com/ncw/rclone/pcloud/api" + "github.com/ncw/rclone/rest" "github.com/pkg/errors" "golang.org/x/oauth2" ) diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.go index cf837014b..2d963e580 100644 --- a/backend/webdav/webdav.go +++ b/backend/webdav/webdav.go @@ -32,6 +32,9 @@ import ( "github.com/ncw/rclone/fs" "github.com/ncw/rclone/lib/pacer" "github.com/ncw/rclone/lib/rest" + "github.com/ncw/rclone/pacer" + "github.com/ncw/rclone/rest" + "github.com/ncw/rclone/webdav/api" "github.com/pkg/errors" ) diff --git a/backend/yandex/yandex.go b/backend/yandex/yandex.go index 75a3c2519..e028a0f18 100644 --- a/backend/yandex/yandex.go +++ b/backend/yandex/yandex.go @@ -16,6 +16,8 @@ import ( yandex "github.com/ncw/rclone/backend/yandex/api" "github.com/ncw/rclone/fs" "github.com/ncw/rclone/lib/oauthutil" + "github.com/ncw/rclone/oauthutil" + yandex "github.com/ncw/rclone/yandex/api" "github.com/pkg/errors" "golang.org/x/oauth2" )