Implement Repo::write_content
This commit is contained in:
1 parent
17a9d7c855
commit
78a14d15a3
3 files changed
+74
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user