promote src/git/ files to src/

Signed-off-by: Han Xu <keepsimple@gmail.com>
This commit is contained in:
Han Xu
2023-01-05 19:19:14 -08:00
parent 575d44e8b4
commit 60596232da
30 changed files with 133 additions and 133 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ pub mod git;
/// The serializable representation of a `git diff`.
///
/// A [`Diff`] can be retrieved by the following functions:
/// * [`crate::git::Repository::diff`]
/// * [`crate::git::Repository::diff_commit`]
/// * [`crate::Repository::diff`]
/// * [`crate::Repository::diff_commit`]
#[cfg_attr(feature = "serde", derive(Serialize), serde(rename_all = "camelCase"))]
#[derive(Clone, Debug, Default, PartialEq, Eq)]
pub struct Diff {