"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
sftp: require go1.8+ after github.com/pkg/sftp update
Nick Craig-Wood911a78ce6dc2
diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.goindex 4b481a206..dc8384e3f 100644--- a/backend/sftp/sftp.go+++ b/backend/sftp/sftp.go@@ -1,6 +1,6 @@// Package sftp provides a filesystem interface using github.com/pkg/sftp-// +build !plan9+// +build !plan9,go1.8package sftpdiff --git a/backend/sftp/sftp_internal_test.go b/backend/sftp/sftp_internal_test.goindex 5b5f6feb3..80a75b8e9 100644--- a/backend/sftp/sftp_internal_test.go+++ b/backend/sftp/sftp_internal_test.go@@ -1,3 +1,5 @@+// +build !plan9,go1.8+package sftpimport (diff --git a/backend/sftp/sftp_test.go b/backend/sftp/sftp_test.goindex 926267892..232720e0b 100644--- a/backend/sftp/sftp_test.go+++ b/backend/sftp/sftp_test.go@@ -2,6 +2,9 @@//// Automatically generated - DO NOT EDIT// Regenerate with: make gen_tests++// +build !plan9,go1.8+package sftp_testimport (diff --git a/backend/sftp/sftp_unsupported.go b/backend/sftp/sftp_unsupported.goindex daddf483b..e3d09e48e 100644--- a/backend/sftp/sftp_unsupported.go+++ b/backend/sftp/sftp_unsupported.go@@ -1,6 +1,6 @@// Build for sftp for unsupported platforms to stop go complaining// about "no buildable Go source files "-// +build plan9+// +build plan9 !go1.8package sftpdiff --git a/backend/sftp/stringlock.go b/backend/sftp/stringlock.goindex c90e29d95..157ee362b 100644--- a/backend/sftp/stringlock.go+++ b/backend/sftp/stringlock.go@@ -1,3 +1,5 @@+// +build !plan9,go1.8+package sftpimport "sync"diff --git a/backend/sftp/stringlock_test.go b/backend/sftp/stringlock_test.goindex 57179915e..9c129c343 100644--- a/backend/sftp/stringlock_test.go+++ b/backend/sftp/stringlock_test.go@@ -1,3 +1,5 @@+// +build !plan9,go1.8+package sftpimport (diff --git a/fstest/fstests/gen_tests.go b/fstest/fstests/gen_tests.goindex 705343202..f1dbc9658 100644--- a/fstest/fstests/gen_tests.go+++ b/fstest/fstests/gen_tests.go@@ -159,7 +159,7 @@ func main() {generateTestProgram(t, fns, "Crypt")generateTestProgram(t, fns, "Crypt", suffix("2"))generateTestProgram(t, fns, "Crypt", suffix("3"))- generateTestProgram(t, fns, "Sftp")+ generateTestProgram(t, fns, "Sftp", buildConstraint("!plan9,go1.8"))generateTestProgram(t, fns, "FTP")generateTestProgram(t, fns, "Box")generateTestProgram(t, fns, "QingStor", buildConstraint("!plan9,go1.7"))