diff options
| author | Ankush Patel | 2026-02-17 21:30:25 +1300 |
|---|---|---|
| committer | Ankush Patel | 2026-02-17 21:31:02 +1300 |
| commit | a298101e579c4e261c206636ecc1be73ee11f624 (patch) | |
| tree | 2f65beefce0d0641e27fa05839740dfb5d00b602 /tests/matrix | |
| parent | 3a5675480b1ac35c938a4776240b16c20ec134ff (diff) | |
Freebsd-support: Fix go vet "undefined" fixes when running make ci
Diffstat (limited to 'tests/matrix')
| -rw-r--r-- | tests/matrix/atime_freebsd.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/matrix/atime_freebsd.go b/tests/matrix/atime_freebsd.go new file mode 100644 index 0000000..5f89c69 --- /dev/null +++ b/tests/matrix/atime_freebsd.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} +} |
