mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-26 17:30:25 +02:00
cleaned comments
This commit is contained in:
parent
8b6c99b0d9
commit
b5cbaa13cc
|
@ -46,8 +46,8 @@ private Item makeItem(const ref JSONValue jsonItem)
|
||||||
id: jsonItem["id"].str,
|
id: jsonItem["id"].str,
|
||||||
name: jsonItem["name"].str,
|
name: jsonItem["name"].str,
|
||||||
type: type,
|
type: type,
|
||||||
eTag: isItemRoot(jsonItem) ? null : jsonItem["eTag"].str, // eTag is not returned if for the root in OneDrive Biz
|
eTag: isItemRoot(jsonItem) ? null : jsonItem["eTag"].str, // eTag is not returned for the root in OneDrive Biz
|
||||||
cTag: /*isItemFolder(jsonItem)*/ "cTag" !in jsonItem ? null : jsonItem["cTag"].str, // 'cTag' is missing in old files
|
cTag: "cTag" !in jsonItem ? null : jsonItem["cTag"].str, // cTag is missing in old files (plus all folders)
|
||||||
mtime: SysTime.fromISOExtString(jsonItem["fileSystemInfo"]["lastModifiedDateTime"].str),
|
mtime: SysTime.fromISOExtString(jsonItem["fileSystemInfo"]["lastModifiedDateTime"].str),
|
||||||
parentId: isItemRoot(jsonItem) ? null : jsonItem["parentReference"]["id"].str
|
parentId: isItemRoot(jsonItem) ? null : jsonItem["parentReference"]["id"].str
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue