lib: Add an API to construct a MutableTree from a commit

This is nicer than having the caller parse the commit
object, or indirect via the `OstreeRepoFile*` object of the root.

Will be used in ostree-rs-ext around tar parsing.
This commit is contained in:
Colin Walters committed 2021-10-01 09:34:19 -04:00
1 parent 5bf4b1dabc
commit 868776a296
5 files changed
+47 -9

No files matched your search

+1
View File
@@ -268,6 +268,7 @@ OstreeLzmaDecompressorClass
<FILE>ostree-mutable-tree</FILE>
OstreeMutableTree
ostree_mutable_tree_new
ostree_mutable_tree_new_from_commit
ostree_mutable_tree_new_from_checksum
ostree_mutable_tree_check_error
ostree_mutable_tree_set_metadata_checksum