pub fn install(dir: &Path, packages: &[Package]) -> Result<Vec<PathBuf>, Error>Expand description
Write packages into the pack folder (WinData), replacing packages of the same name. Each
is written to a temporary file first and then renamed, so a failed write leaves no
half-written package.