pub fn update(&mut self, cfg: &Config) {
    let selected = self.line().map(|x| x.path.clone());
    self.root_entry.update(&self.expanded_paths);
    self.rebuild_list(cfg);
    if let Some(x) = selected {
      self.select_path(&x);
    }
  }
/// Rescan the file system and rebuild the list
Rescan the file system and rebuild the list
Rescan the file system and rebuild the list
pub fn update(&mut self, cfg: &Config) {
    let selected = self.line().map(|x| x.path.clone());
    self.root_entry.update(&self.expanded_paths);
    self.rebuild_list(cfg);
    if let Some(x) = selected {
      self.select_path(&x);
    }
  }
pub fn update ( & mut self , cfg : & Config ) { let selected = self . line ( ) . map ( | x | x . path . clone ( ) ) ; self . root_entry . update ( & self . expanded_paths ) ; self . rebuild_list ( cfg ) ; if let Some ( x ) = selected { self . select_path ( & x ) ; } }
Rescan the file system and rebuild the list
Rescan the file system and rebuild the list
&mut self
cfg
&Config
&mut self
cfg
&Config