mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
17 lines
283 B
Go
17 lines
283 B
Go
// +build dragonfly linux solaris
|
|
|
|
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
|
|
}
|