[ostree] repo: Document ostree_repo_sign_commit(), and add introspection data
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] repo: Document ostree_repo_sign_commit(), and add introspection data
- Date: Mon, 20 Jan 2014 17:14:22 +0000 (UTC)
commit 43fdfa0649192d2895a8190feb91ca8bf4faa215
Author: Colin Walters <walters verbum org>
Date: Mon Jan 20 12:13:37 2014 -0500
repo: Document ostree_repo_sign_commit(), and add introspection data
The important bit for introspection is (allow-none) on the homedir.
src/libostree/ostree-repo.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index 372becd..2309a86 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -1478,6 +1478,17 @@ ostree_repo_pull (OstreeRepo *self,
}
#endif
+/**
+ * ostree_repo_sign_commit:
+ * @self: Self
+ * @commit_checksum: SHA256 of given commit to sign
+ * @key_id: Use this GPG key id
+ * @homedir: (allow-none): GPG home directory, or %NULL
+ * @cancellable: A #GCancellable
+ * @error: a #GError
+ *
+ * Add a GPG signature to a commit.
+ */
gboolean
ostree_repo_sign_commit (OstreeRepo *self,
const gchar *commit_checksum,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]