mirror of
https://github.com/containers/podman.git
synced 2025-12-03 11:49:18 +08:00
Vendor some changes to parsing code that we need for Podman. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
15 lines
221 B
Go
15 lines
221 B
Go
// +build darwin
|
|
|
|
package util
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func makeHardlinkDeviceAndInode(st *syscall.Stat_t) hardlinkDeviceAndInode {
|
|
return hardlinkDeviceAndInode{
|
|
device: uint64(st.Dev),
|
|
inode: uint64(st.Ino),
|
|
}
|
|
}
|