aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/tools/imports/fastwalk_dirent_fileno.go
blob: f1fd64949dbf05ddea09be684d6fd0e7a3815e4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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 freebsd openbsd netbsd

package imports

import "syscall"

func direntInode(dirent *syscall.Dirent) uint64 {
    return uint64(dirent.Fileno)
}