lib/commit: Added new ostree_repo_write_archive_to_mtree_from_fd()

Similar to ostree_repo_write_archive_to_mtree(), but takes
a file descriptor to read the archive from instead of mandating
a file path.

Usefull for importing archives into an OSTree repo over a socket
or from standard input in command line tools.

Closes: #1862
Approved by: jlebon
This commit is contained in:
Tristan Van Berkom authored and Atomic Bot committed 2019-05-28 17:03:22 +00:00
1 parent 1c0933b40c
commit da4d0245af
5 files changed
+110 -27

No files matched your search

+2
View File
@@ -19,6 +19,8 @@
/* Add new symbols here. Release commits should copy this section into -released.sym. */
LIBOSTREE_2019.3 {
global:
ostree_repo_write_archive_to_mtree_from_fd;
} LIBOSTREE_2018.9;
/* Stub section for the stable release *after* this development one; don't