Skip to main content

Module ops

Module ops 

Source
Expand description

Install / update / uninstall operations over the registry client and lockfile.

Structs§

InstallSummary
Outcome of an install.
UninstallSummary
Outcome of an uninstall.
UpdateChange
A single pending/applied update.
UpdateReport
Result of an update run.
UpdateSkip
An update that was available but not written.

Functions§

install
Install handle for target under dir, recording the result in the lockfile at lock_path. Refuses to overwrite pre-existing files unless force; a re-install at the same version is a no-op.
uninstall
Remove an installed artifact’s files and its lockfile entry.
update
Re-resolve every lockfile entry. With apply, download and rewrite changed artifacts (overwriting their own files) and update the lockfile.