Skip to main content

Module installer

Module installer 

Source
Expand description

The install transaction: diff (lock vs installed state), parallel fetch into the store, store-to-vendor clone, bin proxies, state files, runtime stub. Idempotent (rerun after an interruption, it converges): the reference state is installed.json + the presence of the directories, and each package is laid out by cloning into a previously removed vendor/.

Structs§

InstallOptions
InstallReport

Functions§

install
local_repository_if_unchanged
The local repository install will produce when its transaction is empty (every wanted package present in installed.json with the same identity, its directory in place): computable before the install runs, so the autoloader can be planned while the install waits on the network. None when a wanted package is not that — the caller then plans after the install, as before.