mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
gir: add missing version tag
This commit is contained in:
parent
be67b37336
commit
d900c58148
@ -14872,7 +14872,10 @@ The @secret_key argument depends of the particular engine implementation.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="summary" c:identifier="ostree_sign_summary" throws="1">
|
||||
<method name="summary"
|
||||
c:identifier="ostree_sign_summary"
|
||||
version="2020.2"
|
||||
throws="1">
|
||||
<doc xml:space="preserve"
|
||||
filename="ostree-sign.c"
|
||||
line="584">Add a signature to a summary file.
|
||||
|
@ -62,8 +62,11 @@ pub use self::repo_finder_override::RepoFinderOverrideExt;
|
||||
mod se_policy;
|
||||
pub use self::se_policy::{SePolicy, SePolicyClass};
|
||||
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
mod sign;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
pub use self::sign::{Sign, NONE_SIGN};
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
pub use self::sign::SignExt;
|
||||
|
||||
mod sysroot;
|
||||
@ -177,5 +180,6 @@ pub mod traits {
|
||||
pub use super::RepoFinderMountExt;
|
||||
#[cfg(any(feature = "v2018_6", feature = "dox"))]
|
||||
pub use super::RepoFinderOverrideExt;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
pub use super::SignExt;
|
||||
}
|
||||
|
@ -2,7 +2,9 @@
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
use gio;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
use glib;
|
||||
use glib::object::IsA;
|
||||
use glib::translate::*;
|
||||
@ -10,7 +12,9 @@ use glib::translate::*;
|
||||
use glib::GString;
|
||||
use ostree_sys;
|
||||
use std::fmt;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
use std::ptr;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
use Repo;
|
||||
|
||||
glib_wrapper! {
|
||||
@ -78,6 +82,7 @@ pub trait SignExt: 'static {
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
fn set_sk(&self, secret_key: &glib::Variant) -> Result<(), glib::Error>;
|
||||
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
fn summary<P: IsA<gio::Cancellable>>(&self, repo: &Repo, keys: &glib::Variant, cancellable: Option<&P>) -> Result<(), glib::Error>;
|
||||
}
|
||||
|
||||
@ -184,6 +189,7 @@ impl<O: IsA<Sign>> SignExt for O {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
fn summary<P: IsA<gio::Cancellable>>(&self, repo: &Repo, keys: &glib::Variant, cancellable: Option<&P>) -> Result<(), glib::Error> {
|
||||
unsafe {
|
||||
let mut error = ptr::null_mut();
|
||||
|
@ -1,2 +1,2 @@
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ e0f160c+)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ a7da7c9+)
|
||||
|
@ -1,2 +1,2 @@
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ e0f160c+)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ a7da7c9+)
|
||||
|
@ -1648,6 +1648,7 @@ extern "C" {
|
||||
pub fn ostree_sign_set_pk(self_: *mut OstreeSign, public_key: *mut glib::GVariant, error: *mut *mut glib::GError) -> gboolean;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
pub fn ostree_sign_set_sk(self_: *mut OstreeSign, secret_key: *mut glib::GVariant, error: *mut *mut glib::GError) -> gboolean;
|
||||
#[cfg(any(feature = "v2020_2", feature = "dox"))]
|
||||
pub fn ostree_sign_summary(self_: *mut OstreeSign, repo: *mut OstreeRepo, keys: *mut glib::GVariant, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
|
||||
|
||||
//=========================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user