add no-arg alias from RETR to LIST

This commit is contained in:
2025-04-25 19:13:01 -05:00
parent 7ec4a7cbb1
commit 824606c023

View File

@@ -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<std::ifstream>(resolved, std::ios::in|std::ios::binary);