summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2022-02-11 14:09:49 -0500
committerColin Walters <walters@verbum.org>2022-02-11 14:09:49 -0500
commitea5f7b0f38ee0b7a56cd5e3bfe2025207dd44a12 (patch)
tree532446be93cc0dfa80ff9a3d8560b6d5b106ca2f
parentd8e33e3a498ede4ae6d535a9a13d04257ad61b44 (diff)
downloadostree-ea5f7b0f38ee0b7a56cd5e3bfe2025207dd44a12.tar.gz
core: Mark `ostree_create_directory_metadata` as `(not nullable)`
So I can drop an unnecessary use of `unwrap()` in Rust.
-rw-r--r--src/libostree/ostree-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index 038606e9..0671ed35 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -1141,7 +1141,7 @@ _ostree_compare_object_checksum (OstreeObjectType objtype,
* @dir_info: a #GFileInfo containing directory information
* @xattrs: (allow-none): Optional extended attributes
*
- * Returns: (transfer full): A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META
+ * Returns: (transfer full) (not nullable): A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META
*/
GVariant *
ostree_create_directory_metadata (GFileInfo *dir_info,