[][src]Struct async_gitlib::RepoInit

pub struct RepoInit { /* fields omitted */ }

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]

pub fn description(&self) -> &str[src]

pub fn set_description<D>(&mut self, desc: D) where
    D: Into<String>, 
[src]

pub fn initial_head(&self) -> &str[src]

pub fn set_initial_head<H>(&mut self, head: H) where
    H: Into<String>, 
[src]

pub async fn init<'_, T>(&'_ self, target: T) -> Result<(), Error> where
    T: Into<PathBuf>, 
[src]

Trait Implementations

impl Default for RepoInit[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.