API question & Rust API bindings
- From: Felix Krull <f_krull gmx de>
- To: ostree-list gnome org
- Subject: API question & Rust API bindings
- Date: Sat, 20 Oct 2018 00:17:36 +0200
Hi,
I've been trying to build my own version of ostree-push [1], mostly for learning purposes. I'm pulling objects from the source repo using ostree_repo_load_object_stream, but there doesn't seem to be an equivalent function for writing objects. I thought ostree_repo_write_content would be that, but it appears to only understand file objects, feeding it metadata objects just makes it error. I suspect I might have to use ostree_repo_write_metadata for, well, metadata (I haven't had a chance to try yet). But that seems fiddly; is there something I'm missing here?
---
-Felix
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]