OstreeMutableTree: Document ostree_mutable_tree_ensure_dir

Closes: #1645
Approved by: jlebon
This commit is contained in:
William Manley 2018-06-22 12:00:29 +01:00 committed by Atomic Bot
parent ca8571a49b
commit 5190f1df42

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,