1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pub mod error;
pub mod library;
mod manager;
pub mod models;

#[cfg(feature = "search")]
pub mod search;

pub mod prelude {
    pub use crate::error::Error;
    pub use crate::models::*;

    pub type RepoResult<R> = Result<R, Error>;
}

pub mod db;
pub(crate) mod utils;

pub use manager::{OwnedRepositoryManager, RepositoryManager};

#[cfg(feature = "git")]
pub use utils::git::setup_git2;