diff options
author | Colin Walters <walters@verbum.org> | 2023-03-17 08:20:16 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2023-03-17 08:25:23 -0400 |
commit | c4d03d28500c75ad2bcf7b75383fc60fe7b83ca8 (patch) | |
tree | 0c473cf3eaff315f79b760d5585d99fabcbdb100 | |
parent | cbec85f2d01a45922fe8812fceb3d20b2a8f6e20 (diff) | |
download | ostree-c4d03d28500c75ad2bcf7b75383fc60fe7b83ca8.tar.gz |
repo: Fix nullability for remote options
Unfortunately, the nullability of the output value here is
dependent on whether the `default_value` parameter is provided. There's
no way to express this in introspection or Rust.
-rw-r--r-- | src/libostree/ostree-repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index fd9592d7..11175db4 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -982,7 +982,7 @@ _ostree_repo_remote_name_is_file (const char *remote_name) * underneath that group, or @default_value if the remote exists but not the * option name. If an error is returned, @out_value will be set to %NULL. * - * Returns: %TRUE on success, otherwise %FALSE with @error set + * Returns: (nullable): %TRUE on success, otherwise %FALSE with @error set * * Since: 2016.5 */ |