feat: issue 256 - filter files (#266)

This commit is contained in:
Christian Visintin
2024-07-15 15:08:22 +02:00
committed by GitHub
parent 65aed76605
commit 631f09b9a8
19 changed files with 222 additions and 12 deletions

View File

@@ -98,13 +98,6 @@ impl FileExplorer {
}
}
/*
/// Return amount of files
pub fn count(&self) -> usize {
self.files.len()
}
*/
/// Iterate over files
/// Filters are applied based on current options (e.g. hidden files not returned)
pub fn iter_files(&self) -> impl Iterator<Item = &File> + '_ {