Merge from remote branch

This commit is contained in:
yaling888
2022-01-28 19:51:40 +08:00
4 changed files with 12 additions and 3 deletions

View File

@ -102,6 +102,7 @@ func (f *fetcher) Update() (interface{}, bool, error) {
hash := md5.Sum(buf)
if bytes.Equal(f.hash[:], hash[:]) {
f.updatedAt = &now
os.Chtimes(f.vehicle.Path(), now, now)
return nil, true, nil
}