OstreeMutableTree: Document ostree_mutable_tree_ensure_dir

Closes: #1645
Approved by: jlebon
This commit is contained in:
William Manley authored and Atomic Bot committed 2018-06-25 16:22:21 +00:00
1 parent ca8571a49b
commit 5190f1df42
1 file changed
+10
+10
View File
@@ -186,6 +186,16 @@ ostree_mutable_tree_replace_file (OstreeMutableTree *self,
return ret;
}
/**
* ostree_mutable_tree_ensure_dir:
* @self: Tree
* @name: Name of subdirectory of self to retrieve/creates
* @out_subdir: (out) (transfer full): the subdirectory
* @error: a #GError
*
* Returns the subdirectory of self with filename @name, creating an empty one
* it if it doesn't exist.
*/
gboolean
ostree_mutable_tree_ensure_dir (OstreeMutableTree *self,
const char *name,