diff options
Diffstat (limited to 'vendor/golang.org/x/tools/imports/fastwalk_dirent_ino.go')
-rw-r--r-- | vendor/golang.org/x/tools/imports/fastwalk_dirent_ino.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/golang.org/x/tools/imports/fastwalk_dirent_ino.go b/vendor/golang.org/x/tools/imports/fastwalk_dirent_ino.go new file mode 100644 index 000000000..ee85bc4dd --- /dev/null +++ b/vendor/golang.org/x/tools/imports/fastwalk_dirent_ino.go @@ -0,0 +1,13 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build linux,!appengine darwin + +package imports + +import "syscall" + +func direntInode(dirent *syscall.Dirent) uint64 { + return uint64(dirent.Ino) +} |