File tree Expand file tree Collapse file tree 2 files changed +193
-316
lines changed
Expand file tree Collapse file tree 2 files changed +193
-316
lines changed Original file line number Diff line number Diff line change 11use crate :: config:: { FileDialogConfig , FileFilter } ;
2+ use crate :: file_dialog:: { SortBy , SortOrder } ;
23use egui:: mutex:: Mutex ;
34use std:: path:: { Path , PathBuf } ;
45use std:: sync:: { mpsc, Arc } ;
56use std:: time:: SystemTime ;
67use std:: { fs, io, thread} ;
7- use crate :: file_dialog:: { SortBy , SortOrder } ;
88
99/// Contains the metadata of a directory item.
1010#[ derive( Debug , Default , Clone ) ]
@@ -300,15 +300,6 @@ impl DirectoryContent {
300300 & self . state
301301 }
302302
303- /// Returns an iterator in the given range of the directory contents.
304- /// No filters are applied using this iterator.
305- pub fn iter_range_mut (
306- & mut self ,
307- range : std:: ops:: Range < usize > ,
308- ) -> impl Iterator < Item = & mut DirectoryEntry > {
309- self . content [ range] . iter_mut ( )
310- }
311-
312303 /// Returns one directory entry by index
313304 pub fn get ( & mut self , i : usize ) -> Option < & mut DirectoryEntry > {
314305 self . content . get_mut ( i)
You can’t perform that action at this time.
0 commit comments