Skip to main content

sync_local_widgets

Function sync_local_widgets 

Source
pub fn sync_local_widgets(
    runtime: &Runtime,
    seen: &mut HashMap<String, u64>,
) -> bool
Expand description

Reinstalls installed widgets whose folder under widgets/ in the working tree changed since the last call, stopping their processes first. seen keeps each folder’s fingerprint between calls. Returns whether any widget was reinstalled. Development builds only.