"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
serve webdav: disallow on go1.8 due to dependent library changes
Nick Craig-Woodd0eb8ddc307f
diff --git a/cmd/serve/serve.go b/cmd/serve/serve.goindex 6454f1afa..5eae2b232 100644--- a/cmd/serve/serve.go+++ b/cmd/serve/serve.go@@ -13,7 +13,9 @@ import (func init() {Command.AddCommand(http.Command)- Command.AddCommand(webdav.Command)+ if webdav.Command != nil {+ Command.AddCommand(webdav.Command)+ }Command.AddCommand(restic.Command)if ftp.Command != nil {Command.AddCommand(ftp.Command)diff --git a/cmd/serve/webdav/webdav.go b/cmd/serve/webdav/webdav.goindex b8c8a48c0..88fa90db9 100644--- a/cmd/serve/webdav/webdav.go+++ b/cmd/serve/webdav/webdav.go@@ -1,3 +1,5 @@+//+build go1.9+package webdavimport (diff --git a/cmd/serve/webdav/webdav_test.go b/cmd/serve/webdav/webdav_test.goindex 404f17f75..eb2196fa3 100644--- a/cmd/serve/webdav/webdav_test.go+++ b/cmd/serve/webdav/webdav_test.go@@ -3,7 +3,7 @@//// We skip tests on platforms with troublesome character mappings-//+build !windows,!darwin+//+build !windows,!darwin,go1.9package webdavdiff --git a/cmd/serve/webdav/webdav_unsupported.go b/cmd/serve/webdav/webdav_unsupported.gonew file mode 100644index 000000000..3e99cf300--- /dev/null+++ b/cmd/serve/webdav/webdav_unsupported.go@@ -0,0 +1,11 @@+// Build for webdav for unsupported platforms to stop go complaining+// about "no buildable Go source files "++// +build !go1.9++package webdav++import "github.com/spf13/cobra"++// Command definition is nil to show not implemented+var Command *cobra.Command = nil