diff options
Diffstat (limited to 'tests/matrix/atime_darwin.go')
-rw-r--r-- | tests/matrix/atime_darwin.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/matrix/atime_darwin.go b/tests/matrix/atime_darwin.go new file mode 100644 index 0000000..5f89c69 --- /dev/null +++ b/tests/matrix/atime_darwin.go @@ -0,0 +1,9 @@ +package matrix + +import ( + "syscall" +) + +func extractAtimeMtime(st syscall.Stat_t) [2]syscall.Timespec { + return [2]syscall.Timespec{st.Atimespec, st.Mtimespec} +} |