From b5cbaa13cc0cf384ff3ed39305776c5961f801d8 Mon Sep 17 00:00:00 2001 From: skilion Date: Sun, 28 May 2017 23:15:03 +0200 Subject: [PATCH] cleaned comments --- src/sync.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sync.d b/src/sync.d index 5bdb2d17..40f92330 100644 --- a/src/sync.d +++ b/src/sync.d @@ -46,8 +46,8 @@ private Item makeItem(const ref JSONValue jsonItem) id: jsonItem["id"].str, name: jsonItem["name"].str, type: type, - eTag: isItemRoot(jsonItem) ? null : jsonItem["eTag"].str, // eTag is not returned if for the root in OneDrive Biz - cTag: /*isItemFolder(jsonItem)*/ "cTag" !in jsonItem ? null : jsonItem["cTag"].str, // 'cTag' is missing in old files + eTag: isItemRoot(jsonItem) ? null : jsonItem["eTag"].str, // eTag is not returned for the root in OneDrive Biz + cTag: "cTag" !in jsonItem ? null : jsonItem["cTag"].str, // cTag is missing in old files (plus all folders) mtime: SysTime.fromISOExtString(jsonItem["fileSystemInfo"]["lastModifiedDateTime"].str), parentId: isItemRoot(jsonItem) ? null : jsonItem["parentReference"]["id"].str };