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§
- Probe
Cache - Cached probe results for a tool, with a measured timestamp for TTL checks.
- Probe
Result - 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.
- Source
Kind
Functions§
Type Aliases§
- UrlTemplate
- A URL template with
{version},{os},{arch},{file},{ext}placeholders that backends substitute at download time.