From f23cd3159444361233b257ab8341b260b378064e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 29 Jan 2016 12:16:09 +0200 Subject: Add support for checksum verification --- bpkg/manifest | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bpkg/manifest') diff --git a/bpkg/manifest b/bpkg/manifest index 6bfe8e7..d932b2a 100644 --- a/bpkg/manifest +++ b/bpkg/manifest @@ -330,6 +330,7 @@ namespace bpkg // The following values are only valid in the manifest list. // butl::optional location; + butl::optional sha256sum; public: package_manifest (manifest_parser&, bool ignore_unknown = false); @@ -348,6 +349,11 @@ namespace bpkg using base_type::base_type; + // Checksum of the corresponding repository_manifests. + // + std::string sha256sum; + + public: package_manifests () = default; package_manifests (manifest_parser&, bool ignore_unknown = false); -- cgit v1.1