1 2 3 4 5 6 7 8 9 10 11 12 13 14
// +build darwin linux,mips linux,mipsle linux,mips64 linux,mips64le package util import ( "syscall" ) func makeHardlinkDeviceAndInode(st *syscall.Stat_t) hardlinkDeviceAndInode { return hardlinkDeviceAndInode{ device: uint64(st.Dev), inode: uint64(st.Ino), } }