Skip to main content

trigger_refresh

Function trigger_refresh 

Source
pub fn trigger_refresh(s: Arc<Mutex<StatusBufferState>>) -> Option<Effect>
Expand description

gr — bare refresh of the status buffer, no prior mutation.

MG.13: a free function (not a closure inside register_action_handlers) because the gr handler is now registered once at boot by magit-core-mode and reaches this through StatusView; see buffer_state::MagitView.