mirror of
https://github.com/restic/restic.git
synced 2025-12-04 02:31:57 +00:00
Examine file ctime when checking if files have changed.
This commit is contained in:
@@ -27,5 +27,7 @@ func extendedStat(fi os.FileInfo) ExtendedFileInfo {
|
||||
mtime := syscall.NsecToTimespec(s.LastWriteTime.Nanoseconds())
|
||||
extFI.ModTime = time.Unix(mtime.Unix())
|
||||
|
||||
extFI.ChangeTime = extFI.ModTime
|
||||
|
||||
return extFI
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user