Expand description
What an install added, and nothing more: before a plan runs, which of its items are there
already (before); after it, which it added (Before::installed). An item is what a
removal takes away again (Item): a Linux distribution’s package, or the tool itself where
it comes in one piece. An item that was there before the install is never among what it added,
so a clean-up that removes only what an install added (super::record) never removes what
someone else installed: a QEMU installed by hand stays when an install only added the programs
its VMs need beside it (crate::providers::helpers).
Structs§
- Before
- Which of a tool’s items were there before its install ran (
before). - Installed
- What an install added: what a clean-up may remove again, and nothing else.
Enums§
- Item
- What an install brings and a removal takes away again.
Functions§
- before
- What of
dep’s install is on the context’s host before it runs: read before running its plan, thenBefore::installedafter it. - items
- What
dep’s install onhostmay add: its packages (packages) on a Linux distribution with apt or dnf, else the tool itself (Item::Tool). - packages
- The packages
dep’s install throughpackagesbrings that its removal takes away,name*for every package that name starts: the tool’s own and the programs its VMs need beside it (crate::providers::helpers); never what other tools share (the compiler, Ruby’s headers, a kernel’s headers), nor the vendor’s repository. The install’s metapackages (qemu-system,libvirt-daemon-system) pull in the packages with the binaries a check looks for (qemu-system-x86_64,virsh): those are its too, or the tool would still read installed. Empty where the tool isn’t a package here (the AWS CLI’s folder; a tool apt alone installs on a dnf distribution). - there
- Which of
dep’s items (items) are on the context’s host now, each package by its own name.Nonewhen that can’t be told (the package manager’s list unread, WSL, Hyper-V).