We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f84e3e + f4f4fb5 commit 44e2adfCopy full SHA for 44e2adf
fs/stat_unix.go
@@ -38,7 +38,7 @@ func Ctime(st fs.FileInfo) (time.Time, error) {
38
if !ok {
39
return time.Time{}, fmt.Errorf("expected st.Sys() to be *syscall.Stat_t, got %T", st.Sys())
40
}
41
- return time.Unix(stSys.Atim.Unix()), nil
+ return time.Unix(stSys.Ctim.Unix()), nil
42
43
44
func Mtime(st fs.FileInfo) (time.Time, error) {
0 commit comments