From 8468f0beac9b792d7e2621f1a78a485ed542fb1d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 21 Jul 2023 16:34:00 +0300 Subject: Ignore version iteration in satisfies() overloads (GH issue #293) --- bpkg/satisfaction.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bpkg/satisfaction.hxx') 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. // -- cgit v1.1