9 #ifndef ZYPP_NG_CHECKSUMWORKFLOW_INCLUDED 10 #define ZYPP_NG_CHECKSUMWORKFLOW_INCLUDED 12 #include <zypp-core/ng/async/task.h> 13 #include <zypp-core/ng/pipelines/Expected> 23 using filesystem::Pathname;
32 namespace CheckSumWorkflow {
std::function< MaybeAwaitable< expected< ProvideRes > >ProvideRes &&)> checksumFileChecker(ContextRef zyppCtx, zypp::CheckSum checksum)
MaybeAwaitable< expected< void > > verifyChecksum(ContextRef zyppCtx, zypp::CheckSum checksum, zypp::filesystem::Pathname file)
ZYPP_FWD_DECL_TYPE_WITH_REFS(EventDispatcher)
std::string checksum(const Pathname &file, const std::string &algorithm)
Compute a files checksum.
Easy-to use interface to the ZYPP dependency resolver.