mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
core: Mark ostree_create_directory_metadata
as (not nullable)
So I can drop an unnecessary use of `unwrap()` in Rust.
This commit is contained in:
parent
d8e33e3a49
commit
ea5f7b0f38
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user