Implement Repo::write_content

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:54 -04:00
1 parent 17a9d7c855
commit 78a14d15a3
3 files changed
+74 -2

No files matched your search

+19 -1
View File
@@ -1 +1,19 @@
pub use libc::stat as stat;
pub use libc::stat;
pub mod fixed {
use crate::OstreeRepo;
use glib::gboolean;
use libc::c_char;
extern "C" {
pub fn ostree_repo_write_content(
self_: *mut OstreeRepo,
expected_checksum: *const c_char,
object_input: *mut gio::GInputStream,
length: u64,
out_csum: *mut *mut [u8; 32],
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
}
}