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
@@ -25,6 +25,7 @@
LIBOSTREE_2021.5 {
global:
ostree_sepolicy_new_from_commit;
ostree_mutable_tree_new_from_commit;
} LIBOSTREE_2021.4;
/* Stub section for the stable release *after* this development one; don't