Module install

Module install 

Source
Expand description

Modular install subsystem.

This module splits the previous monolithic install.rs into focused submodules. Public API is preserved via re-exports.

Modules§

command
Builds shell commands for installing packages via pacman or AUR helpers.

Enums§

ExecutorOutput
What: Output messages from command execution.
ExecutorRequest
What: Request types for command execution.

Functions§

build_downgrade_command_for_executor
What: Build downgrade command string without hold tail for PTY execution.
build_install_command_for_executor
What: Build install command string without hold tail for PTY execution.
build_remove_command_for_executor
What: Build remove command string without hold tail for PTY execution.
build_scan_command_for_executor
What: Build scan command string for PTY execution (excluding aur-sleuth).
build_sleuth_command_for_terminal
What: Build aur-sleuth command for terminal execution.
build_update_command_for_executor
What: Build system update command string by chaining multiple commands.
check_config_directories
What: Check for configuration directories in $HOME/PACKAGE_NAME and $HOME/.config/PACKAGE_NAME.
command_on_path
What: Determine whether a command is available on the Unix PATH.
editor_open_config_command
What: Build a shell command string that opens a config file in the user’s preferred terminal editor.
log_removed
What: Append removed package names to an audit log under the logs directory.
shell_single_quote
What: Safely single-quote an arbitrary string for POSIX shells.
spawn_aur_scan_for_with_config
What: Load user-configured suspicious patterns and launch the AUR scan pipeline.
spawn_install
What: Spawn a terminal to install a single package.
spawn_install_all
What: Spawn a terminal to install a batch of packages.
spawn_remove_all
What: Spawn a terminal to remove all given packages with pacman.
spawn_shell_commands_in_terminal
What: Spawn a terminal to run a &&-joined series of shell commands with a hold tail.
start_integrated_install
What: Start integrated install process for a single package (bypassing preflight).
start_integrated_install_all
What: Start integrated install process for multiple packages (bypassing preflight).
start_integrated_remove_all
What: Start integrated remove process (bypassing preflight).