Expand description
Removal planning and dependency analysis.
The planning phase reads the package database, resolves the package to
remove, and collects any installed packages that still depend on it. The
resulting RemovalPlan is a snapshot of what the execution phase should
remove, not a live view of the database.
This split matters because the CLI wants to inspect the plan before it mutates anything. It can display dependents, ask for confirmation, and only then hand the plan to the execution layer.
Functionsยง
- dependency_
name ๐ - Extract the dependency package name from a stored dependency string.
- find_
dependents - Find installed packages that depend on the named package.
- plan_
removal - Build a removal plan for the named package.
- removal_
plan ๐ - Construct a removal plan from an already loaded package and dependent list.