Showing the changes to git-commitgraph/src (4 of 4 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | |||
| 1 | use crate::file::commit::Commit; | ||
| 1 | use crate::file::{File, LexPosition, COMMIT_DATA_ENTRY_SIZE}; | 2 | use crate::file::{File, LexPosition, COMMIT_DATA_ENTRY_SIZE}; |
| 2 | use crate::Commit; | ||
| 3 | use git_object::{borrowed, HashKind, SHA1_SIZE}; | 3 | use git_object::{borrowed, HashKind, SHA1_SIZE}; |
| 4 | use std::convert::{TryFrom, TryInto}; | 4 | use std::convert::{TryFrom, TryInto}; |
| 5 | use std::fmt::{Debug, Formatter}; | 5 | use std::fmt::{Debug, Formatter}; |
| @@ -8,6 +8,7 @@ mod access; · 7 unmodified lines | |||
| 8 | pub mod commit; | 8 | pub mod commit; |
| 9 | mod init; | 9 | mod init; |
| 10 | 10 | ||
| 11 | pub use commit::Commit; | ||
| 11 | pub use init::Error; | 12 | pub use init::Error; |
| 12 | use std::fmt::{Display, Formatter}; | 13 | use std::fmt::{Display, Formatter}; |
| 13 | 14 | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | use crate::file::{File, LexPosition}; | 1 | use crate::file::{Commit, File, LexPosition}; |
| 2 | use crate::graph::GraphPosition; | 2 | use crate::graph::GraphPosition; |
| 3 | use crate::{Commit, Graph}; | 3 | use crate::Graph; |
| 4 | use git_object::borrowed; | 4 | use git_object::borrowed; |
| 5 | 5 | ||
| 6 | impl Graph { | 6 | impl Graph { |
| @@ -4,7 +4,6 @@ · 3 unmodified lines | |||
| 4 | pub mod file; | 4 | pub mod file; |
| 5 | pub mod graph; | 5 | pub mod graph; |
| 6 | 6 | ||
| 7 | pub use file::commit::Commit; | ||
| 8 | pub use graph::{Graph, GraphPosition}; | 7 | pub use graph::{Graph, GraphPosition}; |
| 9 | 8 | ||
| 10 | /// The maximum number of commits that can be stored in a commit graph. | 9 | /// The maximum number of commits that can be stored in a commit graph. |