Debian Codegraph @

copy/stat_sysv.go

raw symbols SCIP
1 //go:build dragonfly || linux || solaris
2 // +build dragonfly linux solaris
3
4 package fs
5
6 import (
7 "syscall"
8 )
9
10 // Returns the last-accessed time
11 func StatAtime(st *syscall.Stat_t) syscall.Timespec {
12 return st.Atim
13 }
14
15 // Returns the last-modified time
16 func StatMtime(st *syscall.Stat_t) syscall.Timespec {
17 return st.Mtim
18 }