Skip to main content

Module source

Module source 

Source
Expand description

Multi-source model: each SDK ships a default list of sources (official + authoritative mirrors); users can add custom sources or pin one. The selection strategy (auto/pinned/ordered) is applied by select.

Modules§

select
Source selection: given a backend’s default sources (plus user config), pick which one to use — by pin, priority order, or fastest-probe (auto).

Structs§

ProbeCache
Cached probe results for a tool, with a measured timestamp for TTL checks.
ProbeResult
Result of a speed probe against one source, cached to disk.
Source
A single download source for a tool.

Enums§

Selection
How to pick among sources.
SourceKind

Functions§

now_secs

Type Aliases§

UrlTemplate
A URL template with {version}, {os}, {arch}, {file}, {ext} placeholders that backends substitute at download time.