[bug] Remote mount directory listing on Windows connected to Linux is failing #42
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
f1e82d8f9f
commit
bf2bdd1b5d
@ -1681,6 +1681,10 @@ auto remote_server::json_release_directory_snapshot(
|
|||||||
|
|
||||||
auto remote_server::update_to_windows_format(json &item) -> json & {
|
auto remote_server::update_to_windows_format(json &item) -> json & {
|
||||||
auto api_path = item[JSON_API_PATH].get<std::string>();
|
auto api_path = item[JSON_API_PATH].get<std::string>();
|
||||||
|
if (api_path == "." || api_path == "..") {
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
|
||||||
item[JSON_META][META_ACCESSED] = std::to_string(
|
item[JSON_META][META_ACCESSED] = std::to_string(
|
||||||
utils::string::to_uint64(empty_as_zero(item[JSON_META][META_ACCESSED])));
|
utils::string::to_uint64(empty_as_zero(item[JSON_META][META_ACCESSED])));
|
||||||
item[JSON_META][META_CREATION] = std::to_string(
|
item[JSON_META][META_CREATION] = std::to_string(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user