Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
refs/tags/v1.6.1
/
.
/
pkg
/
system
/
lstat.go
blob: 6c1ed2e3864d271f627aea8ce4fccf611591aae0 [
file
] [
log
] [
blame
]
// +build !windows
package system
import (
"syscall"
)
func Lstat(path string) (*Stat_t, error) {
s := &syscall.Stat_t{}
err := syscall.Lstat(path, s)
if err != nil {
return nil, err
}
return fromStatT(s)
}