Skip to main content

Module github

Module github 

Source
Expand description

Generic GitHub-release backend, addressed as github:owner/repo.

Downloads a release asset matching the host platform and installs it. Two asset shapes are handled: archives (tar.*/zip → extracted) and bare binaries (installed directly into bin/). Version specs map to release tags (latest → the latest release). Mirrors: a CN GitHub proxy fallback.

Structs§

GithubBackend
A github backend bound to a specific owner/repo.

Functions§

github_install_candidate_is_valid
Validate a scanned GitHub candidate without consulting the network. This is shared by lifecycle reuse and restart-time config/activation recovery.
github_install_candidate_is_valid_for_dirs
Validate a persisted GitHub candidate when callers only have storage and platform state (for example lockfile serialization after installation).
github_install_locator_for
Derive the exact locator for a GitHub request whose locked artifact material is already present. This variant is used by lockfile serialization where only directory and platform state are available.