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

10 lines
157 B
Go

// +build dragonfly freebsd openbsd netbsd
package godirwalk
import "syscall"
func inoFromDirent(de *syscall.Dirent) uint64 {
return uint64(de.Fileno)
}