repo: Expose dfd-relative mtree writes as public API

For use in rpm-ostree.  We already had all of the internals for this.
This commit is contained in:
Colin Walters committed 2016-01-05 17:43:08 -05:00
1 parent 5e7ed2dd8b
commit 21fbc16bc3
3 files changed
+62 -17

No files matched your search

+8
View File
@@ -428,6 +428,14 @@ gboolean ostree_repo_write_directory_to_mtree (OstreeRepo *
GCancellable *cancellable,
GError **error);
gboolean ostree_repo_write_dfd_to_mtree (OstreeRepo *self,
int dfd,
const char *path,
OstreeMutableTree *mtree,
OstreeRepoCommitModifier *modifier,
GCancellable *cancellable,
GError **error);
gboolean ostree_repo_write_archive_to_mtree (OstreeRepo *self,
GFile *archive,
OstreeMutableTree *mtree,