github.com/grange74/docker@v1.6.0-rc3/pkg/system/lstat.go (about) 1 // +build !windows 2 3 package system 4 5 import ( 6 "syscall" 7 ) 8 9 func Lstat(path string) (*Stat_t, error) { 10 s := &syscall.Stat_t{} 11 err := syscall.Lstat(path, s) 12 if err != nil { 13 return nil, err 14 } 15 return fromStatT(s) 16 }