install_addon

Function install_addon 

Source
pub async fn install_addon(
    addon: &Addon,
    from_directory: &Path,
    to_directory: &Path,
) -> Result<Vec<AddonFolder>, FilesystemError>
Expand description

Unzips an Addon archive, and once that is done, it moves the content to the to_directory. At the end it will cleanup and remove the archive.