From fb89cc08ae4d01c3a989b872a596e2ae35f76387 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 16 Apr 2025 09:27:04 -0500 Subject: [PATCH] fix --- .../librepertory/src/drives/fuse/remotefuse/remote_server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp index c7ad2540..d49f547e 100644 --- a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp +++ b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp @@ -1730,6 +1730,7 @@ auto remote_server::update_to_windows_format(const std::string &root_api_path, return item; } + item[JSON_DIRECTORY] = utils::string::from_bool(true); item[JSON_META] = meta; } @@ -1755,7 +1756,7 @@ auto remote_server::update_to_windows_format(const std::string &root_api_path, } auto attributes = utils::string::to_uint32( - item[JSON_META][META_ATTRIBUTES].get); + item[JSON_META][META_ATTRIBUTES].get()); if (item[JSON_DIRECTORY].get()) { if ((attributes & FILE_ATTRIBUTE_DIRECTORY) != FILE_ATTRIBUTE_DIRECTORY) { attributes |= FILE_ATTRIBUTE_DIRECTORY;