[][src]Struct sqlite2dir::git::Repo

pub struct Repo { /* fields omitted */ }

Methods

impl Repo[src]

pub fn open(path: impl AsRef<Path>) -> Result<Self, Error>[src]

pub fn create(path: impl AsRef<Path>) -> Result<Self, Error>[src]

pub fn config(&self) -> Result<Config, Error>[src]

pub fn tree(&self) -> Result<TreeSink, Error>[src]

pub fn commit(
    &self,
    message: &str,
    authored: &Signature,
    sink: TreeSink
) -> Result<Diff, Error>
[src]

Auto Trait Implementations

impl Send for Repo

impl Unpin for Repo

impl !Sync for Repo

impl UnwindSafe for Repo

impl RefUnwindSafe for Repo

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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