gitless 1.0.0

Clone and degit a repo
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(thiserror::Error, Debug)]
pub enum GitlessError {
    #[error("git2 error: {0:?}")]
    Git2Error(#[from] git2::Error),
    #[error("unexpected error: {0:?}")]
    Other(#[from] anyhow::Error),
    #[error("{0}")]
    Message(&'static str),
}

pub type GitlessResult<T> = Result<T, GitlessError>;