photoprism-client-go/vendor/github.com/karrick/godirwalk/reclenFromNamlen.go

10 lines
147 B
Go

// +build dragonfly
package godirwalk
import "syscall"
func reclen(de *syscall.Dirent) uint64 {
return (16 + uint64(de.Namlen) + 1 + 7) &^ 7
}