aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/containers/buildah/util/util_not_uint64.go
blob: a318fb3085f2b0134becfb87058508069e1deea6 (plain)
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),
	}
}