mirror of
https://github.com/golang/go
synced 2024-11-05 15:56:12 -07:00
94b14834a2
It is going to be used by a new tool. Moved to an internal package so it does not become a publicly supported api. Modified the tests so they don't depend on the fix_test infrastructure. Change-Id: Ib8ebef24dc23e180960af04aa3d06b5f41a7c02b Reviewed-on: https://go-review.googlesource.com/99678 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
15 lines
320 B
Go
15 lines
320 B
Go
// 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 darwin
|
|
// +build !appengine
|
|
|
|
package fastwalk
|
|
|
|
import "syscall"
|
|
|
|
func direntInode(dirent *syscall.Dirent) uint64 {
|
|
return uint64(dirent.Ino)
|
|
}
|