From c9016845c339104e54df95efdca617afa9786ee7 Mon Sep 17 00:00:00 2001 From: skilion Date: Sun, 25 Dec 2016 16:39:54 +0100 Subject: [PATCH] removed time comparison hack --- src/sync.d | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sync.d b/src/sync.d index cb58566b..ac27fbf2 100644 --- a/src/sync.d +++ b/src/sync.d @@ -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;