gopkg.in/alecthomas/gometalinter.v3@v3.0.0/_linters/src/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_fileno.go (about) 1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build freebsd openbsd netbsd 6 7 package fastwalk 8 9 import "syscall" 10 11 func direntInode(dirent *syscall.Dirent) uint64 { 12 return uint64(dirent.Fileno) 13 }