gopkg.in/alecthomas/gometalinter.v3@v3.0.0/_linters/src/golang.org/x/tools/imports/fastwalk_dirent_ino.go (about)

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