diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-05 21:37:17 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-10 15:18:27 +0300 |
commit | 51b35a2d4305a2f302be62a370c4b00b2a215279 (patch) | |
tree | e3a6f7da4217f63415d47cf727c5ba3a4650b7d7 /bpkg/package.hxx | |
parent | 38b4313922e26781ef4e362d3c9ae6d4a78559cb (diff) |
Add support for --patch option
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r-- | bpkg/package.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index f6bada3..1986e1f 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -599,6 +599,11 @@ namespace bpkg odb::result<available_package>&&, bool prereq = true); + pair<shared_ptr<available_package>, shared_ptr<repository_fragment>> + filter_one (const vector<shared_ptr<repository_fragment>>&, + odb::result<available_package>&&, + bool prereq = true); + // Check if there are packages available in the configuration. If that's not // the case then print the info message into the diag record or, if it is // NULL, print the error message and fail. |