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:
parent
9640171711
commit
43fdfa0649
|
|
@ -1478,6 +1478,17 @@ ostree_repo_pull (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
#endif
|
#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
|
gboolean
|
||||||
ostree_repo_sign_commit (OstreeRepo *self,
|
ostree_repo_sign_commit (OstreeRepo *self,
|
||||||
const gchar *commit_checksum,
|
const gchar *commit_checksum,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue