repo: Document ostree_repo_sign_commit(), and add introspection data

The important bit for introspection is (allow-none) on the homedir.
This commit is contained in:
Colin Walters 2014-01-20 12:13:37 -05:00
parent 9640171711
commit 43fdfa0649
1 changed files with 11 additions and 0 deletions

View File

@ -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,