pub async fn install_batch(
target_dir: &Path,
cache_base: &Path,
eco: &Ecosystem,
index: &PackageIndex,
client: &ThunderstoreClient,
game: &str,
batch: &InstallBatch,
installed_at_time: u64,
) -> Result<BatchOutcome>Expand description
Installs every identifier in batch, restoring protected disabled state
afterwards, and reports per-item outcomes.
Failures do not abort the batch: each item is attempted and its reason recorded, because an operation that already installed earlier items has to say which ones. The disabled-state restore runs regardless, since items installed before a failure are already enabled. A requested enable that fails is recorded the same way.
A desired entry of Owner-Name-Version installs exactly that version, and
the pin holds for the rest of the batch.