Skip to main content

install_plugin_from_subdir_with_progress

Function install_plugin_from_subdir_with_progress 

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

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