podman-build/vendor/github.com/containers/buildah/copier/hardlink_uint64.go
2025-10-11 12:30:35 +09:00

15 lines
274 B
Go

//go:build (linux && !mips && !mipsle && !mips64 && !mips64le) || freebsd || netbsd
package copier
import (
"syscall"
)
func makeHardlinkDeviceAndInode(st *syscall.Stat_t) hardlinkDeviceAndInode {
return hardlinkDeviceAndInode{
device: st.Dev,
inode: st.Ino,
}
}