Skip to main content

install_plugin_with_progress

Function install_plugin_with_progress 

Source
pub fn install_plugin_with_progress(
    source_url: &str,
    dest: &Path,
    on_chunk: impl FnMut(&str),
) -> Result<String, String>
Expand description

Like install_plugin but streams git clone --progress chunks to on_chunk. See clone_repo_with_progress for callback semantics.