fix
This commit is contained in:
@ -930,10 +930,9 @@ auto winfsp_drive::ReadDirectory(PVOID /*file_node*/, PVOID file_desc,
|
|||||||
api_path, {utils::string::to_utf8(marker)})));
|
api_path, {utils::string::to_utf8(marker)})));
|
||||||
while ((error = iterator.get_directory_item(
|
while ((error = iterator.get_directory_item(
|
||||||
offset++, dir_item)) == api_error::success) {
|
offset++, dir_item)) == api_error::success) {
|
||||||
// if (utils::path::is_ads_file_path(dir_item.api_path) ||
|
if (dir_item.api_path == "." || dir_item.api_path == "..") {
|
||||||
// dir_item.api_path == "." || dir_item.api_path == "..") {
|
continue;
|
||||||
// continue;
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
if (dir_item.meta.empty()) {
|
if (dir_item.meta.empty()) {
|
||||||
utils::error::raise_api_path_error(
|
utils::error::raise_api_path_error(
|
||||||
|
Reference in New Issue
Block a user