mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-30 01:15:45 +08:00

full diff: 397af5306b...8d32dbdd27
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
19 lines
286 B
Go
19 lines
286 B
Go
//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
|
|
}
|