refs: Make ostree_repo_resolve_rev{,_ext}() use (nullable)
authorColin Walters <walters@verbum.org>
Fri, 19 Feb 2021 01:10:26 +0000 (01:10 +0000)
committerColin Walters <walters@verbum.org>
Fri, 19 Feb 2021 01:11:43 +0000 (01:11 +0000)
commit093c63cd46fa2d1da9aa4c8f56e0aa1f9eb786e9
tree8bafe5f6513af56177ebdfd68702a24c85dc40a5
parent172a845c2b6b3f4b50125d459121ad482e532a65
refs: Make ostree_repo_resolve_rev{,_ext}() use (nullable)

We have an `allow_noent` boolean that controls this, but
were missing the `(nullable)` annotation, so the Rust bindings
panic when the ref doesn't exist instead of being `Option<GString>`.
src/libostree/ostree-repo-refs.c