mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibCore: Remove unused Directory::create_iterator() method
This commit is contained in:
parent
a4667fdc9b
commit
ceaed7440e
Notes:
sideshowbarker
2024-07-17 01:55:29 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/ceaed7440e Pull-request: https://github.com/SerenityOS/serenity/pull/17694
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…
Reference in a new issue