[−][src]Struct async_gitlib::RepoInit
Implementations
impl RepoInit
[src]
pub fn bare(&self) -> bool
[src]
pub fn set_bare(&mut self, enable: bool)
[src]
pub fn no_reinit(&self) -> bool
[src]
pub fn set_no_reinit(&mut self, enable: bool)
[src]
pub fn no_dotgit_dir(&self) -> bool
[src]
pub fn set_no_dotgit_dir(&mut self, enable: bool)
[src]
pub fn mkpath(&self) -> bool
[src]
pub fn set_mkpath(&mut self, enable: bool)
[src]
pub fn workdir_path(&self) -> &PathBuf
[src]
pub fn set_workdir_path<P>(&mut self, path: P) where
P: Into<PathBuf>,
[src]
P: Into<PathBuf>,
pub fn description(&self) -> &str
[src]
pub fn set_description<D>(&mut self, desc: D) where
D: Into<String>,
[src]
D: Into<String>,
pub fn initial_head(&self) -> &str
[src]
pub fn set_initial_head<H>(&mut self, head: H) where
H: Into<String>,
[src]
H: Into<String>,
pub async fn init<'_, T>(&'_ self, target: T) -> Result<(), Error> where
T: Into<PathBuf>,
[src]
T: Into<PathBuf>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RepoInit
impl Send for RepoInit
impl Sync for RepoInit
impl Unpin for RepoInit
impl UnwindSafe for RepoInit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,