mirror of
https://github.com/rclone/rclone
synced 2024-11-01 21:49:35 +01:00
sftp: require go1.8+ after github.com/pkg/sftp update
This commit is contained in:
parent
d64789528d
commit
911a78ce6d
@ -1,6 +1,6 @@
|
||||
// Package sftp provides a filesystem interface using github.com/pkg/sftp
|
||||
|
||||
// +build !plan9
|
||||
// +build !plan9,go1.8
|
||||
|
||||
package sftp
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build !plan9,go1.8
|
||||
|
||||
package sftp
|
||||
|
||||
import (
|
||||
|
@ -2,6 +2,9 @@
|
||||
//
|
||||
// Automatically generated - DO NOT EDIT
|
||||
// Regenerate with: make gen_tests
|
||||
|
||||
// +build !plan9,go1.8
|
||||
|
||||
package sftp_test
|
||||
|
||||
import (
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build !plan9,go1.8
|
||||
|
||||
package sftp
|
||||
|
||||
import "sync"
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build !plan9,go1.8
|
||||
|
||||
package sftp
|
||||
|
||||
import (
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user