summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/pkg/sftp/request-unix.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-08-06 21:47:05 +0200
committerWim <wim@42.be>2018-08-06 21:47:05 +0200
commit51062863a5c34d81e296cf15c61140911037cf3b (patch)
tree9b5e044672486326c7a0ca8fb26430f37bf4d83c /vendor/github.com/pkg/sftp/request-unix.go
parent4fb4b7aa6c02a54db8ad8dd98e4d321396926c0d (diff)
downloadmatterbridge-msglm-51062863a5c34d81e296cf15c61140911037cf3b.tar.gz
matterbridge-msglm-51062863a5c34d81e296cf15c61140911037cf3b.tar.bz2
matterbridge-msglm-51062863a5c34d81e296cf15c61140911037cf3b.zip
Use mod vendor for vendored directory (backwards compatible)
Diffstat (limited to 'vendor/github.com/pkg/sftp/request-unix.go')
-rw-r--r--vendor/github.com/pkg/sftp/request-unix.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/github.com/pkg/sftp/request-unix.go b/vendor/github.com/pkg/sftp/request-unix.go
deleted file mode 100644
index a71a8980..00000000
--- a/vendor/github.com/pkg/sftp/request-unix.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// +build !windows
-
-package sftp
-
-import (
- "errors"
- "syscall"
-)
-
-func fakeFileInfoSys() interface{} {
- return &syscall.Stat_t{Uid: 65534, Gid: 65534}
-}
-
-func testOsSys(sys interface{}) error {
- fstat := sys.(*FileStat)
- if fstat.UID != uint32(65534) {
- return errors.New("Uid failed to match.")
- }
- if fstat.GID != uint32(65534) {
- return errors.New("Gid failed to match:")
- }
- return nil
-}