aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index f3223b6..3716670 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -405,6 +405,7 @@ namespace bpkg
//
butl::optional<butl::path> location;
butl::optional<std::string> sha256sum;
+ butl::optional<std::string> fragment;
public:
package_manifest () = default; // VC export.
@@ -893,6 +894,11 @@ namespace bpkg
butl::optional<std::string> description;
butl::optional<std::string> certificate;
+ // The repository fragment id this repository belongs to (may only be
+ // present for multi-fragment repositories).
+ //
+ butl::optional<std::string> fragment;
+
// Return the effective role of the repository. If the role is not
// explicitly specified (see the role member above), then calculate
// the role based on the location. Specifically, if the location is