Skip to main content

Module downloads

Module downloads 

Source

Enums§

ArtifactKind
What an agent downloads: the GUI bundle, the CLI archive, or the system package the local package manager takes.

Functions§

agent_platform_parts
(os, arch) a client’s download selection would use on the machine that reported this AgentInfo.platform - the strings differ from the file tokens for ARM (“linux-armv7” selects the “arm” arch) and Android (“android-aarch64” downloads “arm64” files), which is exactly why the agent’s platform alone cannot name files. None for platform strings no client of ours reports.
current_platform
The platform string of the running machine, as the agent reports it - the key the other two functions meet at.
release_file_name
The release file name for (os, arch) exactly as the client’s download selection reports them (get_current_os/get_current_arch in client/src/upgrade/mod.rs), with the version and branch baked in the way every release of them is named. None where the platform ships no artifact of the kind - no GUI on ARM Linux, no packages off x86_64.