Merge pull request #2282 from cgwalters/resolve-nullable

refs: Make ostree_repo_resolve_rev{,_ext}() use (nullable)
This commit is contained in:
OpenShift Merge Robot 2021-02-18 22:44:21 -05:00 committed by GitHub
commit ea3a971f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ _ostree_repo_resolve_rev_internal (OstreeRepo *self,
* @self: Repo * @self: Repo
* @refspec: A refspec * @refspec: A refspec
* @allow_noent: Do not throw an error if refspec does not exist * @allow_noent: Do not throw an error if refspec does not exist
* @out_rev: (out) (transfer full): A checksum,or %NULL if @allow_noent is true and it does not exist * @out_rev: (out) (nullable) (transfer full): A checksum,or %NULL if @allow_noent is true and it does not exist
* @error: Error * @error: Error
* *
* Look up the given refspec, returning the checksum it references in * Look up the given refspec, returning the checksum it references in
@ -472,7 +472,7 @@ ostree_repo_resolve_rev (OstreeRepo *self,
* @refspec: A refspec * @refspec: A refspec
* @allow_noent: Do not throw an error if refspec does not exist * @allow_noent: Do not throw an error if refspec does not exist
* @flags: Options controlling behavior * @flags: Options controlling behavior
* @out_rev: (out) (transfer full): A checksum,or %NULL if @allow_noent is true and it does not exist * @out_rev: (out) (nullable) (transfer full): A checksum,or %NULL if @allow_noent is true and it does not exist
* @error: Error * @error: Error
* *
* Look up the given refspec, returning the checksum it references in * Look up the given refspec, returning the checksum it references in