mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-24 23:58:10 -05:00
transaction: Add private getter for the FlatpakDecomposed of the op
This commit is contained in:
committed by
Alexander Larsson
parent
3fd710b5f4
commit
f2cfd53bd1
@@ -22,12 +22,15 @@
|
||||
#define __FLATPAK_TRANSACTION_PRIVATE_H__
|
||||
|
||||
#include "flatpak-transaction.h"
|
||||
#include "flatpak-ref-utils-private.h"
|
||||
|
||||
FlatpakRemoteState *flatpak_transaction_ensure_remote_state (FlatpakTransaction *self,
|
||||
FlatpakTransactionOperationType kind,
|
||||
const char *remote,
|
||||
GError **error);
|
||||
|
||||
FlatpakDecomposed * flatpak_transaction_operation_get_decomposed (FlatpakTransactionOperation *self);
|
||||
|
||||
#include "flatpak-dir-private.h"
|
||||
|
||||
#endif /* __FLATPAK_TRANSACTION_PRIVATE_H__ */
|
||||
|
||||
@@ -692,6 +692,12 @@ flatpak_transaction_operation_get_ref (FlatpakTransactionOperation *self)
|
||||
return flatpak_decomposed_get_ref (self->ref);
|
||||
}
|
||||
|
||||
FlatpakDecomposed *
|
||||
flatpak_transaction_operation_get_decomposed (FlatpakTransactionOperation *self)
|
||||
{
|
||||
return self->ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* flatpak_transaction_operation_get_related_to_ops:
|
||||
* @self: a #FlatpakTransactionOperation
|
||||
|
||||
Reference in New Issue
Block a user