diff options
author | Colin Walters <walters@verbum.org> | 2011-12-23 06:49:04 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-12-23 06:49:04 -0500 |
commit | 3e59cc1305dce5e3d603c78d12f89df571ca1084 (patch) | |
tree | 41dc8eb726efac3baa0d76cb64b849bdd088bec8 /src/libostree/ostree-mutable-tree.h | |
parent | 4bbc99fb1db8825afb526b3e2b361c35e0556e6e (diff) | |
download | ostree-3e59cc1305dce5e3d603c78d12f89df571ca1084.tar.gz |
core: Add --tar-autocreate-parents option for commit
The tar files we're making of artifacts don't include parent
directories. Now we could change the builder to make them, but we can
also just autocreate them on import. Mode 0755 with no xattrs seems
OK here.
Diffstat (limited to 'src/libostree/ostree-mutable-tree.h')
-rw-r--r-- | src/libostree/ostree-mutable-tree.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libostree/ostree-mutable-tree.h b/src/libostree/ostree-mutable-tree.h index 413da028..e47964d1 100644 --- a/src/libostree/ostree-mutable-tree.h +++ b/src/libostree/ostree-mutable-tree.h @@ -77,6 +77,13 @@ gboolean ostree_mutable_tree_lookup (OstreeMutableTree *self, OstreeMutableTree **out_subdir, GError **error); +gboolean +ostree_mutable_tree_ensure_parent_dirs (OstreeMutableTree *self, + GPtrArray *split_path, + const char *metadata_checksum, + OstreeMutableTree **out_parent, + GError **error); + gboolean ostree_mutable_tree_walk (OstreeMutableTree *self, GPtrArray *split_path, guint start, |