libostree: Add API to write metadata as stream
And use it in pull-local. The goal here is to kill users of ostree_repo_load_variant(), and move a bit more towards hiding the variants.
This commit is contained in:
1 parent
b4082d5642
commit
9b31b526cc
4 files changed
+47
-17
No files matched your search
@@ -169,6 +169,14 @@ gboolean ostree_repo_write_metadata_trusted (OstreeRepo *self,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_write_metadata_stream_trusted (OstreeRepo *self,
|
||||
OstreeObjectType objtype,
|
||||
const char *checksum,
|
||||
GInputStream *object_input,
|
||||
guint64 length,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_write_content_trusted (OstreeRepo *self,
|
||||
const char *checksum,
|
||||
GInputStream *object_input,
|
||||
|
||||
Reference in new issue
Block a user