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

Function refresh_file_panel

perro_editor/res/scripts/ui/editor_ui.rs:62–66  ·  view source on GitHub ↗

File panel + status only (folder expand/collapse, file-local ops).

(ctx: &mut ScriptContext<'_, API>)

Source from the content-addressed store, hash-verified

60 if state.log.trim().is_empty() || state.log == state.output_seen_log {
61 return;
62 }
63 state.output_seen_log.clone_from(&state.log);
64 if state.output_messages.last() == Some(&state.log) {
65 if let Some(repeat) = state.output_repeats.last_mut() {
66 *repeat = repeat.saturating_add(1);
67 }
68 return;
69 }

Callers

nothing calls this directly

Calls 2

refresh_files_viewFunction · 0.85
refresh_status_viewFunction · 0.85

Tested by

no test coverage detected