github.com/pmorton/docker@v1.5.0/pkg/system/stat_linux.go (about)

     1  package system
     2  
     3  import (
     4  	"syscall"
     5  )
     6  
     7  func fromStatT(s *syscall.Stat_t) (*Stat, error) {
     8  	return &Stat{size: s.Size,
     9  		mode: s.Mode,
    10  		uid:  s.Uid,
    11  		gid:  s.Gid,
    12  		rdev: s.Rdev,
    13  		mtim: s.Mtim}, nil
    14  }