| 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 | //go:build (linux || (darwin && !cgo)) && !appengine |
| 6 | // +build linux darwin,!cgo |
| 7 | // +build !appengine |
| 8 | |
| 9 | package fastwalk |
| 10 | |
| 11 | import "syscall" |
| 12 | |
| 13 | func direntInode(dirent *syscall.Dirent) uint64 { |
| 14 | return dirent.Ino |
| 15 | } |
| 16 |
Members