github.com/dougm/docker@v1.5.0/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, 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 }