PATCH: version on ostree_repo_commit_modifier_set_sepolicy_from_commit
This commit is contained in:
1 parent
2504c97a8d
commit
7c72d297ef
5 files changed
+8
-3
No files matched your search
@@ -4,11 +4,13 @@
|
||||
|
||||
use gio;
|
||||
use glib;
|
||||
#[cfg(any(feature = "v2020_4", feature = "dox"))]
|
||||
use glib::object::IsA;
|
||||
use glib::translate::*;
|
||||
use glib::GString;
|
||||
use ostree_sys;
|
||||
use std::boxed::Box as Box_;
|
||||
#[cfg(any(feature = "v2020_4", feature = "dox"))]
|
||||
use std::ptr;
|
||||
use Repo;
|
||||
use RepoCommitFilterResult;
|
||||
@@ -67,6 +69,7 @@ impl RepoCommitModifier {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v2020_4", feature = "dox"))]
|
||||
pub fn set_sepolicy_from_commit<P: IsA<gio::Cancellable>>(&self, repo: &Repo, rev: &str, 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 @ 48a4a23+)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b1a822b+)
|
||||
Reference in new issue
Block a user