"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
swift: Store root for later when we support directories
Nick Craig-Woodb8c191b51c20
diff --git a/fs_swift.go b/fs_swift.goindex 5cf66645a..a2642a125 100644--- a/fs_swift.go+++ b/fs_swift.go@@ -20,6 +20,7 @@ import (type FsSwift struct {c swift.Connection // the connection to the swift servercontainer string // the container we are working on+ root string // the path we are working on if any}// FsObjectSwift describes a swift object@@ -100,7 +101,7 @@ func NewFsSwift(path string) (*FsSwift, error) {if err != nil {return nil, err}- f := &FsSwift{c: *c, container: container}+ f := &FsSwift{c: *c, container: container, root: directory}return f, nil}