Expand description
Core installation traits and logic
Defines the Installer trait and common installation utilities.
Structs§
- GitHub
Asset - GitHub release asset
- GitHub
Release - GitHub release information
- Install
Options - Options for installation
- Install
Result - Result of an installation
Enums§
- Install
Method - Installation method for a debugger
- Install
Status - Installation status of a debugger
- Package
Manager - Package managers
Traits§
- Installer
- Trait for debugger installers
Functions§
- adapters_
dir - Get the adapters installation directory
- arch_
str - Get current architecture string for asset matching
- download_
file - Download a file with progress reporting
- ensure_
adapters_ dir - Ensure the adapters directory exists
- extract_
tar_ gz - Extract a tar.gz archive
- extract_
tar_ xz - Extract a tar.xz archive
- extract_
zip - Extract a zip archive
- get_
github_ release - Query GitHub API for latest release with retry logic
- make_
executable - Make a file executable on Unix
- platform_
str - Get current platform string for asset matching
- read_
version_ file - Read version from a version file
- run_
command - Run a shell command and return output Note: This should only be used for trusted commands. For user input, use run_command_args.
- run_
command_ args - Run a command with explicit arguments (safe from shell injection)
- write_
version_ file - Write version info to a file