Function ajour_core::fs::install_addon [−][src]
pub async fn install_addon(
addon: &Addon,
from_directory: &Path,
to_directory: &Path
) -> Result<Vec<AddonFolder>, FilesystemError>
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.