Examine file ctime when checking if files have changed.
This commit is contained in:
parent
ecc2458de8
commit
b8c2544dcb
7 changed files with 40 additions and 1 deletions
|
@ -30,6 +30,7 @@ func extendedStat(fi os.FileInfo) ExtendedFileInfo {
|
|||
|
||||
AccessTime: time.Unix(s.Atim.Unix()),
|
||||
ModTime: time.Unix(s.Mtim.Unix()),
|
||||
ChangeTime: time.Unix(s.Ctim.Unix()),
|
||||
}
|
||||
|
||||
return extFI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue