From bd5857a09b6f916d20ba079e01347fcd58d3d88b Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 11 Feb 2017 01:56:31 -0600 Subject: [PATCH] Dokan changes --- SiaDrive.Dokan.Api/SiaDokanDrive.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SiaDrive.Dokan.Api/SiaDokanDrive.cpp b/SiaDrive.Dokan.Api/SiaDokanDrive.cpp index 6fe843b..397c88e 100644 --- a/SiaDrive.Dokan.Api/SiaDokanDrive.cpp +++ b/SiaDrive.Dokan.Api/SiaDokanDrive.cpp @@ -135,12 +135,14 @@ private: if (ret == STATUS_SUCCESS) { // If file should exist, then check for it in cache location. If not found, - // it must be downloaded first + // it must be downloaded first and placed in cache if (!isCreateOp && !PathFileExists(cacheFilePath.c_str())) { - + // Download to temp location + // Move to cache location } + // Create file as specified HANDLE handle = CreateFile( cacheFilePath.c_str(), genericDesiredAccess,