9 // Lstat calls os.Lstat to get a fileinfo interface back.
10 // This is then copied into our own locally defined structure.
11 // Note the Linux version uses fromStatT to do the copy back,
12 // but that not strictly necessary when already in an OS specific module.
13 func Lstat(path string) (*StatT, error) {
14 fi, err := os.Lstat(path)
23 modTime: fi.ModTime(),
24 isDir: fi.IsDir()}, nil