github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/pkg/system/stat_openbsd.go (about) 1 package system 2 3 import ( 4 "syscall" 5 ) 6 7 // fromStatT creates a system.StatT type from a syscall.Stat_t type 8 func fromStatT(s *syscall.Stat_t) (*StatT, error) { 9 return &StatT{size: s.Size, 10 mode: uint32(s.Mode), 11 uid: s.Uid, 12 gid: s.Gid, 13 rdev: uint64(s.Rdev), 14 mtim: s.Mtim}, nil 15 }