Skip to main content

Module package_manager

Module package_manager 

Source
Expand description

Package manager abstraction for install/remove/query operations.

Provides a unified interface for system package managers (apt, dnf, pacman, yum, zypper) with dry-run support. Command construction is tested without actually executing subprocesses.

§Validation Assertions

  • VAL-INFRA-005: Package manager operations correct
  • VAL-INFRA-006: Package manager supports dry-run mode

Structs§

DryRunResult
Result of a dry-run operation — contains the command that would be executed.
PackageManagerFacade
Facade providing package manager operations with optional dry-run mode.

Enums§

PackageOperation
Type of package operation being performed.