diff options
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
| -rw-r--r-- | apt-pkg/deb/deblistparser.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index eefce2a6a..e6767d7d5 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -14,6 +14,9 @@ #include <apt-pkg/pkgcache.h> #include <apt-pkg/pkgcachegen.h> #include <apt-pkg/tagfile.h> +#ifdef APT_COMPILING_APT +#include <apt-pkg/tagfile-keys.h> +#endif #include <string> #include <vector> @@ -90,6 +93,13 @@ class APT_HIDDEN debListParser : public pkgCacheListParser explicit debListParser(FileFd *File); virtual ~debListParser(); + +#ifdef APT_COMPILING_APT + APT::StringView SHA256() const + { + return Section.Find(pkgTagSection::Key::SHA256); + } +#endif }; class APT_HIDDEN debDebFileParser : public debListParser |
