summaryrefslogtreecommitdiff
path: root/tests/matrix/atime_linux.go
blob: fb7b94f4634795342e6c0e69d9c99791d2831f4b (plain)
1
2
3
4
5
6
7
8
9
package matrix

import (
	"syscall"
)

func extractAtimeMtime(st syscall.Stat_t) [2]syscall.Timespec {
	return [2]syscall.Timespec{st.Atim, st.Mtim}
}