Disk (Windows): use sub thread to check accessiblity of remote volumes.
This commit is contained in:
1 parent
5fb1286e15
commit
2fc9230b29
2 files changed
+53
-34
No files matched your search
@@ -406,6 +406,8 @@ void ffGenerateDiskJsonResult(FFDiskOptions* options, yyjson_mut_doc* doc, yyjso
|
||||
yyjson_mut_arr_add_str(doc, typeArr, "Hidden");
|
||||
if(item->type & FF_DISK_VOLUME_TYPE_READONLY_BIT)
|
||||
yyjson_mut_arr_add_str(doc, typeArr, "Read-only");
|
||||
if(item->type & FF_DISK_VOLUME_TYPE_UNKNOWN_BIT)
|
||||
yyjson_mut_arr_add_str(doc, typeArr, "Unknown");
|
||||
|
||||
const char* pstr = ffTimeToFullStr(item->createTime);
|
||||
if (*pstr)
|
||||
|
||||
Reference in new issue
Block a user