core: Fix wrong return value docs
ostree_commit_get_parent() returns a string form of a checksum, not a binary form. Closes: #360 Approved by: cgwalters
This commit is contained in:
parent
744543110e
commit
91ccaff197
|
|
@ -1993,8 +1993,9 @@ ostree_validate_structureof_dirmeta (GVariant *dirmeta,
|
||||||
/**
|
/**
|
||||||
* ostree_commit_get_parent:
|
* ostree_commit_get_parent:
|
||||||
* @commit_variant: Variant of type %OSTREE_OBJECT_TYPE_COMMIT
|
* @commit_variant: Variant of type %OSTREE_OBJECT_TYPE_COMMIT
|
||||||
*
|
*
|
||||||
* Returns: Binary checksum with parent of @commit_variant, or %NULL if none
|
* Returns: Checksum of the parent commit of @commit_variant, or %NULL
|
||||||
|
* if none
|
||||||
*/
|
*/
|
||||||
gchar *
|
gchar *
|
||||||
ostree_commit_get_parent (GVariant *commit_variant)
|
ostree_commit_get_parent (GVariant *commit_variant)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue