repo: Move the transaction stats to a separate struct
This is much easier for callers to handle, and simplifies the API a lot. https://bugzilla.gnome.org/show_bug.cgi?id=707644
This commit is contained in:
1 parent
5082e1d8e9
commit
ef61724269
7 files changed
+76
-69
No files matched your search
@@ -40,11 +40,7 @@ struct OstreeRepo {
|
||||
|
||||
GFile *transaction_lock_path;
|
||||
GMutex txn_stats_lock;
|
||||
guint txn_metadata_objects_total;
|
||||
guint txn_metadata_objects_written;
|
||||
guint txn_content_objects_total;
|
||||
guint txn_content_objects_written;
|
||||
guint64 txn_content_bytes_written;
|
||||
OstreeRepoTransactionStats txn_stats;
|
||||
|
||||
GMutex cache_lock;
|
||||
GPtrArray *cached_meta_indexes;
|
||||
|
||||
Reference in new issue
Block a user