aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-13 21:05:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-16 11:10:04 +0300
commit32e4cffb444d4ad936c9037eecea9bd78f81f3d0 (patch)
treebbbb4452a88f47449c86a7ff85b9617ab7b621da /bpkg/manifest-utility.ixx
parentc98f1215387f993329a96785a2a9102d93cb0328 (diff)
Add --mask-repository pkg-build optionmask-repos-old
Diffstat (limited to 'bpkg/manifest-utility.ixx')
-rw-r--r--bpkg/manifest-utility.ixx14
1 files changed, 14 insertions, 0 deletions
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);
+ }
+}