Viper dependency + viper godeps

licences
This commit is contained in:
jayunit100
2016-08-24 21:37:19 -04:00
parent 0877816ec8
commit 30edeaefc7
152 changed files with 28265 additions and 0 deletions

17
vendor/github.com/pkg/sftp/attrs_unix.go generated vendored Normal file
View File

@@ -0,0 +1,17 @@
// +build darwin dragonfly freebsd !android,linux netbsd openbsd solaris
// +build cgo
package sftp
import (
"os"
"syscall"
)
func fileStatFromInfoOs(fi os.FileInfo, flags *uint32, fileStat *FileStat) {
if statt, ok := fi.Sys().(*syscall.Stat_t); ok {
*flags |= ssh_FILEXFER_ATTR_UIDGID
fileStat.UID = statt.Uid
fileStat.GID = statt.Gid
}
}