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.
This commit is contained in:
1 parent
4bbc99fb1d
commit
3e59cc1305
6 files changed
+119
-12
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user