mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
LibCore: Remove unused Directory::create_iterator() method
This commit is contained in:
parent
a4667fdc9b
commit
ceaed7440e
2 changed files with 0 additions and 6 deletions
|
@ -93,9 +93,4 @@ ErrorOr<struct stat> Directory::stat() const
|
||||||
return System::fstat(m_directory_fd);
|
return System::fstat(m_directory_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
ErrorOr<DirIterator> Directory::create_iterator() const
|
|
||||||
{
|
|
||||||
return DirIterator { path().string() };
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,6 @@ public:
|
||||||
ErrorOr<NonnullOwnPtr<File>> open(StringView filename, File::OpenMode mode) const;
|
ErrorOr<NonnullOwnPtr<File>> open(StringView filename, File::OpenMode mode) const;
|
||||||
ErrorOr<struct stat> stat() const;
|
ErrorOr<struct stat> stat() const;
|
||||||
int fd() const { return m_directory_fd; }
|
int fd() const { return m_directory_fd; }
|
||||||
ErrorOr<DirIterator> create_iterator() const;
|
|
||||||
|
|
||||||
LexicalPath const& path() const { return m_path; }
|
LexicalPath const& path() const { return m_path; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue