MCPcopy Create free account
hub / github.com/PerroEngine/Perro / file_path_tree_visible

Function file_path_tree_visible

perro_editor/res/scripts/ui/editor_ui.rs:3159–3167  ·  view source on GitHub ↗
(path: &str, expanded_paths: &[String])

Source from the content-addressed store, hash-verified

3157}
3158
3159pub fn panim_summary(project_root: &str, anim_path: &str) -> String {
3160 if anim_path.is_empty() || anim_path == "-" {
3161 return "no .panim".to_string();
3162 }
3163 let abs = res_to_abs(project_root, anim_path);
3164 let Ok(text) = FileMod::load_string(&abs) else {
3165 return "clip not readable".to_string();
3166 };
3167 let mut in_objects = false;
3168 let mut objects = Vec::new();
3169 for line in text.lines() {
3170 let trimmed = line.trim();

Callers 1

filtered_file_pathsFunction · 0.85

Calls 6

parent_res_folderFunction · 0.85
file_ancestor_foldersFunction · 0.85
anyMethod · 0.80
is_emptyMethod · 0.45
allMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected