Skip to main content

Module install

Module install 

Source
Expand description

High-level install entry point and its configuration types. High-level install() entry point: resolves a release, downloads and verifies the archive, extracts the executable into <dest_root>/<version_tag>/, then refreshes the <dest_root>/current/ pointer so downstream tooling can always find the active install at a stable path.

Structs§

InstallOptions
Configuration passed to install.
InstalledHyperd
Result of a successful install call.

Enums§

VersionSource
Which hyperd release install should resolve.

Constants§

DEFAULT_DEST_ROOT
Default directory (relative to CWD) used when InstallOptions::dest_root is left at its default. Laid out as .hyperd/<version_tag>/hyperd[.exe] plus a mirror at .hyperd/current/.

Functions§

install
Downloads (if needed), verifies, and installs a hyperd executable according to opts.