1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 06:37:35 +00:00

LibCore: Add DirIterator::next_full_path()

This commit is contained in:
Shannon Booth 2020-02-16 14:10:47 +13:00 committed by Andreas Kling
parent e90765e957
commit 42399167b3
2 changed files with 9 additions and 1 deletions

View file

@ -47,11 +47,13 @@ public:
const char* error_string() const { return strerror(m_error); }
bool has_next();
String next_path();
String next_full_path();
private:
DIR* m_dir = nullptr;
int m_error = 0;
String m_next;
String m_path;
int m_flags;
bool advance_next();