Expand description
Package remove operations.
Provides domain-level package removal functionality aligned with rez’s package_remove.py.
§Lessons from Rez Issues (avoided pitfalls):
- Wildcard version removal: Explicitly require version or full-family confirmation to prevent accidental mass deletion (Rez issue #1374: pre-install tests fail when package is filtered out — we ensure remove operates on explicit targets only).
- Dry-run support: Always provide a way to preview what will be removed.
Structs§
- Package
Remove Config - Configuration for package remove operations.
- Package
Remove Result - Result of a package remove operation.
Enums§
- Package
Remove Error - Errors that can occur during package remove operations.
Functions§
- preview_
removal - Preview what would be removed (dry-run).
- remove_
package_ family - Remove an entire package family (all versions).
- remove_
package_ version - Remove a specific version of a package.