mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
Fix
This commit is contained in:
parent
2dabdd0f73
commit
5068b163b8
@ -69,7 +69,14 @@ public:
|
||||
|
||||
bool isValid() const override { return entry != fs::directory_iterator(); }
|
||||
|
||||
String path() const override { return dir_path / entry->path().filename(); }
|
||||
String path() const override
|
||||
{
|
||||
if (entry->is_directory())
|
||||
return dir_path / entry->path().filename() / "";
|
||||
else
|
||||
return dir_path / entry->path().filename();
|
||||
}
|
||||
|
||||
|
||||
String name() const override { return entry->path().filename(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user