Fix features in Repo
This commit is contained in:
parent
8afba7f5ab
commit
13c61a9329
|
|
@ -1,4 +1,6 @@
|
||||||
use auto::{Repo, RepoListRefsExtFlags};
|
use crate::auto::Repo;
|
||||||
|
#[cfg(any(feature = "v2016_4", feature = "dox"))]
|
||||||
|
use crate::auto::RepoListRefsExtFlags;
|
||||||
use ffi;
|
use ffi;
|
||||||
use gio;
|
use gio;
|
||||||
use glib;
|
use glib;
|
||||||
|
|
@ -48,6 +50,7 @@ pub trait RepoExtManual {
|
||||||
cancellable: Q,
|
cancellable: Q,
|
||||||
) -> Result<HashMap<String, String>, Error>;
|
) -> Result<HashMap<String, String>, Error>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v2016_4", feature = "dox"))]
|
||||||
fn list_refs_ext<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(
|
fn list_refs_ext<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(
|
||||||
&self,
|
&self,
|
||||||
refspec_prefix: P,
|
refspec_prefix: P,
|
||||||
|
|
@ -110,6 +113,7 @@ impl<O: IsA<Repo> + IsA<glib::Object> + Clone + 'static> RepoExtManual for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v2016_4", feature = "dox"))]
|
||||||
fn list_refs_ext<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(
|
fn list_refs_ext<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(
|
||||||
&self,
|
&self,
|
||||||
refspec_prefix: P,
|
refspec_prefix: P,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue