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

Function rel_label

perro_editor/res/scripts/assets/editor_files.rs:26–30  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

24}
25
26pub fn rel_label(path: &str) -> String {
27 path.trim_start_matches("res://")
28 .trim_end_matches('/')
29 .to_string()
30}
31
32pub fn kind_label(path: &str) -> &'static str {
33 if path.ends_with('/') {

Callers 11

sort_keyFunction · 0.85
res_browser_sort_keyFunction · 0.85
duplicate_res_targetFunction · 0.85
rename_res_targetFunction · 0.85
glb_asset_stemFunction · 0.85
quick_asset_stemFunction · 0.85
asset_inspector_textFunction · 0.85
asset_edit_nameFunction · 0.85
file_base_nameFunction · 0.85
file_path_in_scopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected