File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,16 @@ MergedTransaction::listCmdlines() const
97
97
return cmdLines;
98
98
}
99
99
100
+ std::vector< TransactionPersistence >
101
+ MergedTransaction::listPersistences () const
102
+ {
103
+ std::vector< TransactionPersistence > persistences;
104
+ for (auto t : transactions) {
105
+ persistences.push_back (t->getPersistence ());
106
+ }
107
+ return persistences;
108
+ }
109
+
100
110
std::vector< TransactionState >
101
111
MergedTransaction::listStates () const
102
112
{
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ class MergedTransaction {
47
47
std::vector< int64_t > listIds () const ;
48
48
std::vector< uint32_t > listUserIds () const ;
49
49
std::vector< std::string > listCmdlines () const ;
50
+ std::vector< TransactionPersistence > listPersistences () const ;
50
51
std::vector< TransactionState > listStates () const ;
51
52
std::vector< std::string > listReleasevers () const ;
52
53
std::vector< std::string > listComments () const ;
You can’t perform that action at this time.
0 commit comments