libzypp 17.37.17
zypp::proto::target::Commit Struct Reference

#include <shared/commit/CommitMessages.h>

Public Types

enum  StepTypes : uint8_t { InstallStepType , RemoveStepType }

Public Member Functions

 Commit ()=default
 Commit (const Commit &)=default
 Commit (Commit &&)=default
Commitoperator= (const Commit &)=default
Commitoperator= (Commit &&)=default
zyppng::expected< zypp::PluginFrametoStompMessage () const

Static Public Member Functions

static zyppng::expected< CommitfromStompMessage (const zypp::PluginFrame &msg)

Public Attributes

uint32_t flags
std::string arch
std::string root
std::string dbPath
std::string lockFilePath
bool ignoreArch
std::vector< TransactionSteptransactionSteps

Static Public Attributes

static constexpr std::string_view typeName = "Commit"

Detailed Description

Definition at line 50 of file CommitMessages.h.

Member Enumeration Documentation

◆ StepTypes

Enumerator
InstallStepType 
RemoveStepType 

Definition at line 59 of file CommitMessages.h.

Constructor & Destructor Documentation

◆ Commit() [1/3]

zypp::proto::target::Commit::Commit ( )
default

◆ Commit() [2/3]

zypp::proto::target::Commit::Commit ( const Commit & )
default

◆ Commit() [3/3]

zypp::proto::target::Commit::Commit ( Commit && )
default

Member Function Documentation

◆ operator=() [1/2]

Commit & zypp::proto::target::Commit::operator= ( const Commit & )
default

◆ operator=() [2/2]

Commit & zypp::proto::target::Commit::operator= ( Commit && )
default

◆ toStompMessage()

zyppng::expected< PluginFrame > zypp::proto::target::Commit::toStompMessage ( ) const

Definition at line 102 of file CommitMessages.cc.

◆ fromStompMessage()

zyppng::expected< Commit > zypp::proto::target::Commit::fromStompMessage ( const zypp::PluginFrame & msg)
static

Definition at line 137 of file CommitMessages.cc.

Member Data Documentation

◆ typeName

std::string_view zypp::proto::target::Commit::typeName = "Commit"
staticconstexpr

Definition at line 58 of file CommitMessages.h.

◆ flags

uint32_t zypp::proto::target::Commit::flags

Definition at line 64 of file CommitMessages.h.

◆ arch

std::string zypp::proto::target::Commit::arch

Definition at line 65 of file CommitMessages.h.

◆ root

std::string zypp::proto::target::Commit::root

Definition at line 66 of file CommitMessages.h.

◆ dbPath

std::string zypp::proto::target::Commit::dbPath

Definition at line 67 of file CommitMessages.h.

◆ lockFilePath

std::string zypp::proto::target::Commit::lockFilePath

Definition at line 68 of file CommitMessages.h.

◆ ignoreArch

bool zypp::proto::target::Commit::ignoreArch

Definition at line 69 of file CommitMessages.h.

◆ transactionSteps

std::vector<TransactionStep> zypp::proto::target::Commit::transactionSteps

Definition at line 70 of file CommitMessages.h.


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