Skip to main content

Module bins

Module bins 

Source
Expand description

Local Release cache and --bin-dir resolution for box binaries.

Structsยง

LocalBins
Paths to box binaries after cache extract or --bin-dir.

Constantsยง

BOX_BIN_NAMES
Filenames expected in a full box Release tar (MCP may be absent).
REQUIRED_BOX_BIN_NAMES
Binaries that must be present for remote / embedded install to proceed.

Functionsยง

asset_name
Release tarball file name for a version + target triple.
bins_from_dir ๐Ÿ”’
cache_bin_dir
Cache directory for one release tag + version + arch.
default_cache_root
Default XDG cache root: $XDG_CACHE_HOME/horto-os-ui/remote-bins or ~/.cache/....
default_release_tag
Default GitHub Release tag for a Cargo version (0.1.0 โ†’ v0.1.0).
ensure_local_bins
Resolve box binaries from --bin-dir or download+extract a Release tar.gz.
first_existing ๐Ÿ”’
release_download_url
GitHub Release download URL for a box tar.gz asset.
release_tag_is_immutable
Whether a Release tag is treated as immutable for the local remote-bins cache.
require_ok ๐Ÿ”’
resolve_local_ecosystem_bins
Resolve ecosystem binaries for embedded install.
warn_mcp_binary_missing ๐Ÿ”’
which_bin ๐Ÿ”’