add no-arg alias from RETR to LIST
This commit is contained in:
@@ -262,6 +262,10 @@ public:
|
|||||||
return fd;
|
return fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fs::is_directory(resolved)) {
|
||||||
|
return list(std::string(fd.relpath));
|
||||||
|
}
|
||||||
|
|
||||||
if (type != 'A') {
|
if (type != 'A') {
|
||||||
// Create a shared_ptr to manage the ifstream
|
// Create a shared_ptr to manage the ifstream
|
||||||
fd.stream = std::make_shared<std::ifstream>(resolved, std::ios::in|std::ios::binary);
|
fd.stream = std::make_shared<std::ifstream>(resolved, std::ios::in|std::ios::binary);
|
||||||
|
|||||||
Reference in New Issue
Block a user