Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ file_path_depth
Function
file_path_depth
perro_editor/res/scripts/ui/editor_ui.rs:3180–3182 ·
view source on GitHub ↗
(path: &str)
Source
from the content-addressed store, hash-verified
3178
if in_objects && trimmed.contains(
'='
) {
3179
objects.push(trimmed.to_string());
3180
}
3181
if objects.len() >= 6 {
3182
break;
3183
}
3184
}
3185
let objects = objects.join(
"\n"
);
Callers
1
set_file_tree_list
Function · 0.85
Calls
2
file_ancestor_folders
Function · 0.85
len
Method · 0.45
Tested by
no test coverage detected