From 32e4cffb444d4ad936c9037eecea9bd78f81f3d0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 13 Jun 2023 21:05:35 +0300 Subject: Add --mask-repository pkg-build option --- bpkg/manifest-utility.ixx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bpkg/manifest-utility.ixx (limited to 'bpkg/manifest-utility.ixx') diff --git a/bpkg/manifest-utility.ixx b/bpkg/manifest-utility.ixx new file mode 100644 index 0000000..d623747 --- /dev/null +++ b/bpkg/manifest-utility.ixx @@ -0,0 +1,14 @@ +// file : bpkg/manifest-utility.ixx -*- C++ -*- +// license : MIT; see accompanying LICENSE file + +namespace bpkg +{ + // NOTE: the implementation relies on the fact that only pkg and dir + // repositories are currently supported. + // + inline bool + masked_repository_fragment (const repository_location& rl) + { + return masked_repository (rl); + } +} -- cgit v1.1