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

Function sanitize_node_name

perro_editor/res/scripts/ui/editor_ui.rs:3512–3525  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

3510 out.push("res");
3511 }
3512 if out.is_empty() {
3513 String::new()
3514 } else {
3515 format!(" {}", out.join(" "))
3516 }
3517}
3518
3519pub fn picker_rows(state: &EditorState, filter: &str, offset: usize) -> Vec<String> {
3520 picker_node_types(state, filter)
3521 .into_iter()
3522 .skip(offset)
3523 .take(MAX_NODE_PICKER_ROWS)
3524 .map(|node_type| picker_node_row(state, node_type))
3525 .collect()
3526}
3527
3528pub fn filtered_file_paths(state: &EditorState) -> Vec<String> {

Callers 2

rename_selected_nodeFunction · 0.85

Calls 3

pushMethod · 0.45
nextMethod · 0.45
insertMethod · 0.45

Tested by 1