pub mod archive; pub mod blame; pub mod blob; pub mod branch; pub mod cmd_error; pub mod commit; pub mod compare; pub mod conflict; pub mod diff; pub mod error; pub mod oid; pub mod refs; pub mod remote; pub mod setup; pub mod submodule; pub mod tags; pub mod tree; mod api; use std::sync::Arc; use crate::context::facade::GitContext; #[derive(Clone)] pub struct GitBaby { ctx: Arc, } impl GitBaby { pub fn new(ctx: Arc) -> Self { Self { ctx } } pub fn context(&self) -> &GitContext { &self.ctx } } pub mod gix { pub mod hash { pub use crate::rpcgit::oid::ObjectId; } pub use hash::ObjectId; pub mod objs { #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Kind { Blob, Tree, Commit, Tag, } } }