mirror of
https://github.com/containers/buildah.git
synced 2026-02-05 09:45:38 +01:00
This change is generated by `go1.23rc2 fix ./...`. Had to use go1.23rc2, since all released go versions have a bug preventing it from working with `go 1.22.0` in go.mod (opened https://github.com/golang/go/issues/68825, https://github.com/golang/go/issues/68824 for awareness). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
15 lines
274 B
Go
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,
|
|
}
|
|
}
|