mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-07 08:07:51 +00:00
Vendor some changes to parsing code that we need for Podman. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
14 lines
204 B
Go
14 lines
204 B
Go
// +build linux
|
|
|
|
package util
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func makeHardlinkDeviceAndInode(st *syscall.Stat_t) hardlinkDeviceAndInode {
|
|
return hardlinkDeviceAndInode{
|
|
device: st.Dev,
|
|
inode: st.Ino,
|
|
}
|
|
}
|