git-next/crates/git/src/lib.rs
Paul Campbell 58e991b2b7
All checks were successful
Rust / build (push) Successful in 2m35s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
test(git): make repository more testable
Adds a layer around Repository to allow the use of a mock.

Mock has still to be implemented.
2024-05-18 20:37:03 +01:00

22 lines
424 B
Rust

//
pub mod commit;
pub mod fetch;
mod generation;
mod git_ref;
mod git_remote;
pub mod push;
mod repo_details;
pub mod repository;
pub mod validate;
#[cfg(test)]
mod tests;
pub use commit::Commit;
pub use generation::Generation;
pub use git_ref::GitRef;
pub use git_remote::GitRemote;
pub use repo_details::RepoDetails;
pub use repository::open::OpenRepository;
pub use repository::Repository;
pub use validate::validate;