diff --git a/src/plugins/filer_local/filer_local.cpp b/src/plugins/filer_local/filer_local.cpp index 68bcc36..f983051 100644 --- a/src/plugins/filer_local/filer_local.cpp +++ b/src/plugins/filer_local/filer_local.cpp @@ -262,6 +262,10 @@ public: return fd; } + if (fs::is_directory(resolved)) { + return list(std::string(fd.relpath)); + } + if (type != 'A') { // Create a shared_ptr to manage the ifstream fd.stream = std::make_shared(resolved, std::ios::in|std::ios::binary);