如何使用Go获取文件的ctime、mtime、atime并更改它们?在Go1.1.2中,*os.Stat只能获取mtime*os.Chtimes可以改变mtime和atime但不能改变ctime。 最佳答案 Linuxctimectimeistheinodeorfilechangetime.Thectimegetsupdatedwhenthefileattributesarechanged,likechangingtheowner,changingthepermissionormovingthefiletoanotherfilesy