mirror of
https://github.com/golang/go
synced 2024-11-05 15:56:12 -07:00
c66da98c4f
Change-Id: I02fbdf1a08894b35a19a3638357c0d42e64d42cc Reviewed-on: https://go-review.googlesource.com/27078 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14 lines
309 B
Go
14 lines
309 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,!appengine darwin
|
|
|
|
package imports
|
|
|
|
import "syscall"
|
|
|
|
func direntInode(dirent *syscall.Dirent) uint64 {
|
|
return uint64(dirent.Ino)
|
|
}
|