mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
feat: issue 256 - filter files (#266)
This commit is contained in:
committed by
GitHub
parent
65aed76605
commit
631f09b9a8
@@ -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> + '_ {
|
||||
|
||||
Reference in New Issue
Block a user