14 lines
286 B
Go
14 lines
286 B
Go
|
// Device reading functions
|
||
|
|
||
|
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
|
||
|
|
||
|
package local
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
// readDevice turns a valid os.FileInfo into a device number,
|
||
|
// returning devUnset if it fails.
|
||
|
func readDevice(fi os.FileInfo) uint64 {
|
||
|
return devUnset
|
||
|
}
|