mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
Switch to patched ostree gir
This commit is contained in:
parent
75848b26ef
commit
d345ea0110
@ -1,7 +1,7 @@
|
||||
GIR_REPO := https://github.com/gtk-rs/gir.git
|
||||
GIR_VERSION := 2d1ffab19eb5f9a2f0d7a294dbf07517dab4d989
|
||||
OSTREE_REPO := https://github.com/ostreedev/ostree.git
|
||||
OSTREE_VERSION := v2020.7
|
||||
OSTREE_REPO := https://github.com/fkrull/ostree.git
|
||||
OSTREE_VERSION := patch-v2020.7
|
||||
RUSTDOC_STRIPPER_VERSION := 0.1.13
|
||||
|
||||
all: gir
|
||||
|
@ -9263,7 +9263,13 @@ signature engine provided, FALSE otherwise.</doc>
|
||||
line="1078">Signature engine used to check superblock</doc>
|
||||
<type name="Sign" c:type="OstreeSign*"/>
|
||||
</parameter>
|
||||
<parameter name="out_success_message" transfer-ownership="none">
|
||||
<parameter name="out_success_message"
|
||||
direction="out"
|
||||
caller-allocates="0"
|
||||
transfer-ownership="full"
|
||||
nullable="1"
|
||||
optional="1"
|
||||
allow-none="1">
|
||||
<doc xml:space="preserve"
|
||||
filename="ostree-repo-static-delta-core.c"
|
||||
line="1079">success message</doc>
|
||||
|
@ -795,11 +795,12 @@ impl Repo {
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v2020_7", feature = "dox"))]
|
||||
pub fn static_delta_verify_signature<P: IsA<Sign>>(&self, delta_id: &str, sign: &P, out_success_message: &str) -> Result<(), glib::Error> {
|
||||
pub fn static_delta_verify_signature<P: IsA<Sign>>(&self, delta_id: &str, sign: &P) -> Result<Option<GString>, glib::Error> {
|
||||
unsafe {
|
||||
let mut out_success_message = ptr::null_mut();
|
||||
let mut error = ptr::null_mut();
|
||||
let _ = ostree_sys::ostree_repo_static_delta_verify_signature(self.to_glib_none().0, delta_id.to_glib_none().0, sign.as_ref().to_glib_none().0, out_success_message.to_glib_none().0, &mut error);
|
||||
if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) }
|
||||
let _ = ostree_sys::ostree_repo_static_delta_verify_signature(self.to_glib_none().0, delta_id.to_glib_none().0, sign.as_ref().to_glib_none().0, &mut out_success_message, &mut error);
|
||||
if error.is_null() { Ok(from_glib_full(out_success_message)) } else { Err(from_glib_full(error)) }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 28a5895+)
|
||||
|
@ -1,2 +1,2 @@
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 28a5895+)
|
||||
|
Loading…
x
Reference in New Issue
Block a user