[ostree] repo: Make commit_transaction introspectable



commit 2506e8fb266203a44f0747b5b47feab6f7317c1f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Sep 7 01:37:09 2013 -0400

    repo: Make commit_transaction introspectable

 src/libostree/ostree-repo-commit.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c
index daec913..116b250 100644
--- a/src/libostree/ostree-repo-commit.c
+++ b/src/libostree/ostree-repo-commit.c
@@ -720,6 +720,18 @@ ostree_repo_transaction_set_ref (OstreeRepo *self,
   g_hash_table_replace (self->txn_refs, refspec, g_strdup (checksum));
 }
 
+/**
+ * ostree_repo_commit_transaction:
+ * @self: An #OstreeRepo
+ * @out_stats: (allow-none) (out): A set of statisitics of things
+ * that happened during this transaction.
+ * @cancellable: Cancellable
+ * @error: Error
+ *
+ * Complete the transaction. Any refs set with
+ * ostree_repo_transaction_set_ref() or
+ * ostree_repo_transaction_set_refspec() will be written out.
+ */
 gboolean
 ostree_repo_commit_transaction (OstreeRepo                  *self,
                                 OstreeRepoTransactionStats  *out_stats,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]