Skip to content

Commit

Permalink
OstreeMutableTree: Document ostree_mutable_tree_ensure_dir
Browse files Browse the repository at this point in the history
Closes: #1645
Approved by: jlebon
  • Loading branch information
wmanley authored and rh-atomic-bot committed Jun 25, 2018
1 parent ca8571a commit 5190f1d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/libostree/ostree-mutable-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5190f1d

Please sign in to comment.