Upgrade pkg/sftp to 1.13 and simplify SFTP.IsNotExist

This commit is contained in:
greatroar
2021-03-10 20:38:22 +01:00
parent c9b4fadd91
commit 187a77fb27
3 changed files with 14 additions and 19 deletions

6
go.mod
View File

@@ -25,7 +25,7 @@ require (
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/pkg/errors v0.9.1
github.com/pkg/profile v1.5.0
github.com/pkg/sftp v1.12.0
github.com/pkg/sftp v1.13.0
github.com/pkg/xattr v0.4.2
github.com/restic/chunker v0.4.0
github.com/satori/go.uuid v1.2.0 // indirect
@@ -33,11 +33,11 @@ require (
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
golang.org/x/net v0.0.0-20200904194848-62affa334b73
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
golang.org/x/sys v0.0.0-20201101102859-da207088b7d1
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4
golang.org/x/text v0.3.4
google.golang.org/api v0.32.0
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect