(path: &str, source: &str, target: &str)
| 1436 | } |
| 1437 | state.dirty = true; |
| 1438 | } |
| 1439 | } |
| 1440 | if let Ok(paths) = scan_res_paths(Path::new(&state.project_root)) { |
| 1441 | state.file_paths = paths; |
| 1442 | state.scene_paths = state |
| 1443 | .file_paths |
| 1444 | .iter() |
| 1445 | .filter(|path| path.ends_with(".scn")) |
| 1446 | .cloned() |
| 1447 | .collect(); |
| 1448 | } |
| 1449 | state.active_asset_path = target.clone(); |
| 1450 | state.file_scope = parent_res_folder(&target); |
no test coverage detected