vendor: github.com/tonistiigi/fsutil 8d32dbdd27d3

full diff: 397af5306b...8d32dbdd27

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2024-11-06 12:02:13 +01:00
parent 8cdeac54ab
commit b7ea25eb59
11 changed files with 98 additions and 15 deletions

View File

@@ -0,0 +1,18 @@
//go:build openbsd
// +build openbsd
package fs
import (
"syscall"
)
// Returns the last-accessed time
func StatAtime(st *syscall.Stat_t) syscall.Timespec {
return st.Atim
}
// Returns the last-modified time
func StatMtime(st *syscall.Stat_t) syscall.Timespec {
return st.Mtim
}