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