Skip to main content

Module manager

Module manager 

Source
Expand description

Core PackageManager and Runner traits plus production/test impls.

Structs§

MockResponse
Scripted response for one call.
MockRunner
Test runner that records every call and returns scripted responses.
RealRunner
Production runner — spawns a child process via Command.
RunOutcome
Result of a single process invocation.

Enums§

PackageError
Errors produced by package manager operations.

Traits§

PackageManager
Abstraction over a system package manager.
Runner
Abstraction over process execution so tests can verify behaviour without invoking real system commands.