Lines Matching refs:cur_path
22 cur_path: String, field
37 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()
255 self.cur_path in refresh_list()