2021-08-27 11:26:00 +00:00
|
|
|
// 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.
|
|
|
|
|
2023-04-21 18:54:37 +00:00
|
|
|
//go:build (linux || (darwin && !cgo)) && !appengine
|
|
|
|
// +build linux darwin,!cgo
|
2021-08-27 11:26:00 +00:00
|
|
|
// +build !appengine
|
|
|
|
|
|
|
|
package fastwalk
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
func direntInode(dirent *syscall.Dirent) uint64 {
|
2023-04-21 18:54:37 +00:00
|
|
|
return dirent.Ino
|
2021-08-27 11:26:00 +00:00
|
|
|
}
|