libzypp 17.32.5
zyppng::CheckSumWorkflow::SyncCheckSumExecutor Struct Reference
Inheritance diagram for zyppng::CheckSumWorkflow::SyncCheckSumExecutor:

Public Member Functions

zypp::CheckSum checksumFromFile (SyncContextRef &, const zypp::Pathname &path, const std::string &checksumType)
 
bool askUserToAcceptNoDigest (const zypp::Pathname &file)
 
bool askUserToAccepUnknownDigest (const zypp::Pathname &file, const std::string &name)
 
bool askUserToAcceptWrongDigest (const zypp::Pathname &file, const std::string &requested, const std::string &found)
 
- Public Member Functions inherited from zyppng::CheckSumWorkflow::CheckSumWorkflowLogic< SyncCheckSumExecutor, SyncOp< expected< void > > >
 ZYPP_ENABLE_LOGIC_BASE (SyncCheckSumExecutor, SyncOp< expected< void > >)
 
 CheckSumWorkflowLogic (ZyppContextRefType zyppContext, zypp::CheckSum &&checksum, zypp::Pathname file)
 
auto execute ()
 
- Public Member Functions inherited from zyppng::LogicBase< Executor, OpType >
 LogicBase ()
 
virtual ~LogicBase ()
 
Executorexecutor ()
 
template<typename T >
auto makeReadyResult (T &&res)
 

Additional Inherited Members

- Public Types inherited from zyppng::CheckSumWorkflow::CheckSumWorkflowLogic< SyncCheckSumExecutor, SyncOp< expected< void > > >
using ZyppContextRefType
 
using ZyppContextType
 
using ProvideType
 
using MediaHandle
 
using ProvideRes
 
- Public Types inherited from zyppng::LogicBase< Executor, OpType >
using ExecutorType = Executor
 
using Result = typename OpType::value_type
 
template<class Type >
using MaybeAsyncRef = std::conditional_t< detail::is_async_op_v<OpType>, AsyncOpRef<Type>, Type>
 
- Static Public Member Functions inherited from zyppng::LogicBase< Executor, OpType >
template<typename ... Args, typename FOpType = OpType>
static std::enable_if_t< detail::is_async_op_v< FOpType >, AsyncOpRef< Result > > run (Args &&...args)
 
template<typename ... Args, typename FOpType = OpType>
static std::enable_if_t< !detail::is_async_op_v< FOpType >, Resultrun (Args &&...args)
 
- Protected Attributes inherited from zyppng::CheckSumWorkflow::CheckSumWorkflowLogic< SyncCheckSumExecutor, SyncOp< expected< void > > >
ZyppContextRefType _context
 
zypp::CheckSum _checksum
 
zypp::Pathname _file
 

Detailed Description

Definition at line 137 of file checksumwf.cc.

Member Function Documentation

◆ checksumFromFile()

zypp::CheckSum zyppng::CheckSumWorkflow::SyncCheckSumExecutor::checksumFromFile ( SyncContextRef & ,
const zypp::Pathname & path,
const std::string & checksumType )
inline

Definition at line 141 of file checksumwf.cc.

◆ askUserToAcceptNoDigest()

bool zyppng::CheckSumWorkflow::SyncCheckSumExecutor::askUserToAcceptNoDigest ( const zypp::Pathname & file)
inline

Definition at line 144 of file checksumwf.cc.

◆ askUserToAccepUnknownDigest()

bool zyppng::CheckSumWorkflow::SyncCheckSumExecutor::askUserToAccepUnknownDigest ( const zypp::Pathname & file,
const std::string & name )
inline

Definition at line 148 of file checksumwf.cc.

◆ askUserToAcceptWrongDigest()

bool zyppng::CheckSumWorkflow::SyncCheckSumExecutor::askUserToAcceptWrongDigest ( const zypp::Pathname & file,
const std::string & requested,
const std::string & found )
inline

Definition at line 152 of file checksumwf.cc.


The documentation for this struct was generated from the following file: