Searched refs:cur_path (Results 1 – 1 of 1) sorted by relevance
22 cur_path: String, field37 cur_path: String::from("/"), in new()77 if asset_manager.cur_path.len() == 1 { in init_grid()81 &asset_manager.cur_path[..asset_manager.cur_path.len() - 1]; in init_grid()83 let _ = asset_manager.cur_path.split_off(slash_pos + 1); in init_grid()87 asset_manager.cur_path.push_str(&item.file_path.borrow()); in init_grid()88 asset_manager.cur_path.push_str(&"/"); in init_grid()196 if let Ok(entries) = fs::read_dir(&self.cur_path) { in refresh_grid()213 self.cur_path in refresh_grid()239 if let Ok(entries) = fs::read_dir(&self.cur_path) { in refresh_list()[all …]