From 50f1335212909962b9bba8db74e8be005a55f4e1 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 3 Feb 2025 19:00:25 +0100 Subject: Add DepIterator::IsSatisfied(PkgIterator) This allows checking if a dependency is satisfied by all versions of a package. --- apt-pkg/cacheiterators.h | 1 + apt-pkg/pkgcache.cc | 7 +++++++ 2 files changed, 8 insertions(+) (limited to 'apt-pkg') diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 31ce1b295..38b4b8635 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -330,6 +330,7 @@ class APT_PUBLIC pkgCache::DepIterator : public IteratorVS->CheckDep(Ver.VerStr(),S2->CompareOp,TargetVer()); -- cgit v1.2.3-70-g09d2