github.com/mephux/docker@v1.6.0-rc5/pkg/system/stat_unsupported.go (about) 1 // +build !linux,!windows 2 3 package system 4 5 import ( 6 "syscall" 7 ) 8 9 func fromStatT(s *syscall.Stat_t) (*Stat_t, error) { 10 return &Stat_t{size: s.Size, 11 mode: uint32(s.Mode), 12 uid: s.Uid, 13 gid: s.Gid, 14 rdev: uint64(s.Rdev), 15 mtim: s.Mtimespec}, nil 16 }