1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00

sftp: require go1.8+ after github.com/pkg/sftp update

This commit is contained in:
Nick Craig-Wood 2018-03-19 16:37:40 +00:00
parent d64789528d
commit 911a78ce6d
7 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,6 @@
// Package sftp provides a filesystem interface using github.com/pkg/sftp
// +build !plan9
// +build !plan9,go1.8
package sftp

View File

@ -1,3 +1,5 @@
// +build !plan9,go1.8
package sftp
import (

View File

@ -2,6 +2,9 @@
//
// Automatically generated - DO NOT EDIT
// Regenerate with: make gen_tests
// +build !plan9,go1.8
package sftp_test
import (

View File

@ -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.8
package sftp

View File

@ -1,3 +1,5 @@
// +build !plan9,go1.8
package sftp
import "sync"

View File

@ -1,3 +1,5 @@
// +build !plan9,go1.8
package sftp
import (

View File

@ -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"))