summaryrefslogtreecommitdiffstats
path: root/src/git.rs
blob: 7d425ff1a1a1a8ac6da54efb61f996ea83ceaa82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Git Interactive Rebase Tool - Git Module
//!
//! # Description
//! This module is used to handle working with external Git systems.
//!
//! ## Test Utilities
//! To facilitate testing the usages of this crate, a set of testing utilities are provided. Since
//! these utilities are not tested, and often are optimized for developer experience than
//! performance, they should only be used in test code.

mod commit;
mod commit_diff;
mod commit_diff_loader;
mod commit_diff_loader_options;
mod delta;
mod diff_line;
mod errors;
mod file_mode;
mod file_status;
mod file_status_builder;
mod origin;
mod reference;
mod reference_kind;
mod repository;
mod status;
#[cfg(test)]
pub(crate) mod testutil;
mod user;

pub(crate) use git2::{Config, ErrorCode};

pub(crate) use self::{
	commit::Commit,
	commit_diff::CommitDiff,
	commit_diff_loader::CommitDiffLoader,
	commit_diff_loader_options::CommitDiffLoaderOptions,
	delta::Delta,
	diff_line::DiffLine,
	errors::{GitError, RepositoryLoadKind},
	file_mode::FileMode,
	file_status::FileStatus,
	file_status_builder::FileStatusBuilder,
	origin::Origin,
	reference::Reference,
	reference_kind::ReferenceKind,
	repository::Repository,
	status::Status,
	user::User,
};