Move all backends into backend directory

This commit is contained in:
Nick Craig-Wood
2018-01-12 17:07:38 +00:00
parent 0a7731cf0d
commit b8b620f5c2
143 changed files with 88 additions and 87 deletions
-26
View File
@@ -1,26 +0,0 @@
package all
import (
// Active file systems
_ "github.com/ncw/rclone/amazonclouddrive"
_ "github.com/ncw/rclone/azureblob"
_ "github.com/ncw/rclone/b2"
_ "github.com/ncw/rclone/box"
_ "github.com/ncw/rclone/cache"
_ "github.com/ncw/rclone/crypt"
_ "github.com/ncw/rclone/drive"
_ "github.com/ncw/rclone/dropbox"
_ "github.com/ncw/rclone/ftp"
_ "github.com/ncw/rclone/googlecloudstorage"
_ "github.com/ncw/rclone/http"
_ "github.com/ncw/rclone/hubic"
_ "github.com/ncw/rclone/local"
_ "github.com/ncw/rclone/onedrive"
_ "github.com/ncw/rclone/pcloud"
_ "github.com/ncw/rclone/qingstor"
_ "github.com/ncw/rclone/s3"
_ "github.com/ncw/rclone/sftp"
_ "github.com/ncw/rclone/swift"
_ "github.com/ncw/rclone/webdav"
_ "github.com/ncw/rclone/yandex"
)
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"io"
"strings"
"github.com/ncw/rclone/dropbox/dbhash"
"github.com/ncw/rclone/backend/dropbox/dbhash"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
+1 -1
View File
@@ -30,8 +30,8 @@ import (
"testing"
"time"
_ "github.com/ncw/rclone/backend/all" // import all backends
"github.com/ncw/rclone/fs"
_ "github.com/ncw/rclone/fs/all" // import all fs
"github.com/ncw/rclone/fstest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"