mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +02:00
removed time comparison hack
This commit is contained in:
parent
ad4e910e55
commit
c9016845c3
|
@ -283,8 +283,6 @@ final class SyncEngine
|
|||
case ItemType.file:
|
||||
if (isFile(path)) {
|
||||
SysTime localModifiedTime = timeLastModified(path);
|
||||
import core.time: Duration;
|
||||
item.mtime.fracSecs = Duration.zero; // HACK
|
||||
if (localModifiedTime == item.mtime) {
|
||||
return true;
|
||||
} else {
|
||||
|
@ -401,8 +399,6 @@ final class SyncEngine
|
|||
if (exists(path)) {
|
||||
if (isFile(path)) {
|
||||
SysTime localModifiedTime = timeLastModified(path);
|
||||
import core.time: Duration;
|
||||
item.mtime.fracSecs = Duration.zero; // HACK
|
||||
if (localModifiedTime != item.mtime) {
|
||||
log.vlog("The file last modified time has changed");
|
||||
string id = item.id;
|
||||
|
|
Loading…
Reference in a new issue