aboutsummaryrefslogtreecommitdiff
path: root/bpkg/satisfaction.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-07-21 16:34:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-07-25 16:16:19 +0300
commit8468f0beac9b792d7e2621f1a78a485ed542fb1d (patch)
treece5d3274ff6ef90361496eb0d6d81f912c14ab0e /bpkg/satisfaction.hxx
parent22716755cbdbfa9b0db1dfafe73252093132ab68 (diff)
Ignore version iteration in satisfies() overloads (GH issue #293)
Diffstat (limited to 'bpkg/satisfaction.hxx')
-rw-r--r--bpkg/satisfaction.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/bpkg/satisfaction.hxx b/bpkg/satisfaction.hxx
index 8df4580..174e375 100644
--- a/bpkg/satisfaction.hxx
+++ b/bpkg/satisfaction.hxx
@@ -12,8 +12,13 @@
namespace bpkg
{
- // Note: all of the following functions expect the package version
- // constraints to be complete.
+ // Notes:
+ //
+ // - All of the following functions expect the package version constraints
+ // to be complete.
+ //
+ // - The version iterations are ignored on version comparisons.
+ //
// Return true if version satisfies the constraint.
//