go-serviceman/vendor/github.com/karrick/godirwalk/withFileno.go

10 lines
157 B
Go
Raw Normal View History

2019-07-01 08:44:54 +00:00
// +build dragonfly freebsd openbsd netbsd
package godirwalk
import "syscall"
func inoFromDirent(de *syscall.Dirent) uint64 {
return uint64(de.Fileno)
}