rez.package_remove#
- rez.package_remove.remove_package_family(name, path, force=False)#
Remove a package family from its repository.
A family can only be deleted if it contains no packages, hidden or otherwise, unless force is True.
- rez.package_remove.remove_package(name, version, path)#
Remove a package from its repository.
Note that you are able to remove a package that is hidden (ie ignored). This is why a Package instance is not specified (if the package were hidden, you wouldn’t be able to get one).
- rez.package_remove.remove_packages_ignored_since(days, paths=None, dry_run=False, verbose=False)#
Remove packages ignored for >= specified number of days.
- Parameters:
- Returns:
Number of packages removed. In dry-run mode, returns the number of packages that _would_ be removed.
- Return type: