mirror of
https://github.com/rclone/rclone.git
synced 2025-01-25 15:49:33 +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
|
// Package sftp provides a filesystem interface using github.com/pkg/sftp
|
||||||
|
|
||||||
// +build !plan9
|
// +build !plan9,go1.8
|
||||||
|
|
||||||
package sftp
|
package sftp
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// +build !plan9,go1.8
|
||||||
|
|
||||||
package sftp
|
package sftp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
//
|
//
|
||||||
// Automatically generated - DO NOT EDIT
|
// Automatically generated - DO NOT EDIT
|
||||||
// Regenerate with: make gen_tests
|
// Regenerate with: make gen_tests
|
||||||
|
|
||||||
|
// +build !plan9,go1.8
|
||||||
|
|
||||||
package sftp_test
|
package sftp_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Build for sftp for unsupported platforms to stop go complaining
|
// Build for sftp for unsupported platforms to stop go complaining
|
||||||
// about "no buildable Go source files "
|
// about "no buildable Go source files "
|
||||||
|
|
||||||
// +build plan9
|
// +build plan9 !go1.8
|
||||||
|
|
||||||
package sftp
|
package sftp
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// +build !plan9,go1.8
|
||||||
|
|
||||||
package sftp
|
package sftp
|
||||||
|
|
||||||
import "sync"
|
import "sync"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// +build !plan9,go1.8
|
||||||
|
|
||||||
package sftp
|
package sftp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -159,7 +159,7 @@ func main() {
|
|||||||
generateTestProgram(t, fns, "Crypt")
|
generateTestProgram(t, fns, "Crypt")
|
||||||
generateTestProgram(t, fns, "Crypt", suffix("2"))
|
generateTestProgram(t, fns, "Crypt", suffix("2"))
|
||||||
generateTestProgram(t, fns, "Crypt", suffix("3"))
|
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, "FTP")
|
||||||
generateTestProgram(t, fns, "Box")
|
generateTestProgram(t, fns, "Box")
|
||||||
generateTestProgram(t, fns, "QingStor", buildConstraint("!plan9,go1.7"))
|
generateTestProgram(t, fns, "QingStor", buildConstraint("!plan9,go1.7"))
|
||||||
|
Loading…
Reference in New Issue
Block a user