Implement Repo::write_metadata

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

No files matched your search

+11 -1
View File
@@ -1,7 +1,7 @@
pub use libc::stat;
pub mod fixed {
use crate::OstreeRepo;
use crate::{OstreeObjectType, OstreeRepo};
use glib::gboolean;
use libc::c_char;
@@ -15,5 +15,15 @@ pub mod fixed {
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
pub fn ostree_repo_write_metadata(
self_: *mut OstreeRepo,
objtype: OstreeObjectType,
expected_checksum: *const c_char,
object: *mut glib::GVariant,
out_csum: *mut *mut [u8; 32],
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
}
}