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
|
@ -22,6 +22,7 @@ type ExtendedFileInfo struct {
|
|||
|
||||
AccessTime time.Time // last access time stamp
|
||||
ModTime time.Time // last (content) modification time stamp
|
||||
ChangeTime time.Time // last status change time stamp
|
||||
}
|
||||
|
||||
// ExtendedStat returns an ExtendedFileInfo constructed from the os.FileInfo.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue