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