k3s/vendor/github.com/karrick/godirwalk/withFileno.go

10 lines
157 B
Go
Raw Normal View History

2019-01-12 04:58:27 +00:00
// +build dragonfly freebsd openbsd netbsd
package godirwalk
import "syscall"
func inoFromDirent(de *syscall.Dirent) uint64 {
return uint64(de.Fileno)
}