Showing the changes to git-commitgraph/src (1 of 1 file). Show all
Unified · Split
| @@ -1,16 +1,15 @@ | |||
| 1 | //! Operations on a single commit-graph file. | 1 | //! Operations on a single commit-graph file. |
| 2 | use filebuffer::FileBuffer; | ||
| 3 | use git_object::SHA1_SIZE; | ||
| 4 | use std::ops::Range; | ||
| 5 | use std::path::PathBuf; | ||
| 6 | |||
| 7 | mod access; | 2 | mod access; |
| 8 | pub mod commit; | 3 | pub mod commit; |
| 9 | mod init; | 4 | mod init; |
| 10 | 5 | ||
| 11 | pub use commit::Commit; | 6 | pub use commit::Commit; |
| 7 | use filebuffer::FileBuffer; | ||
| 8 | use git_object::SHA1_SIZE; | ||
| 12 | pub use init::Error; | 9 | pub use init::Error; |
| 13 | use std::fmt::{Display, Formatter}; | 10 | use std::fmt::{Display, Formatter}; |
| 11 | use std::ops::Range; | ||
| 12 | use std::path::PathBuf; | ||
| 14 | 13 | ||
| 15 | const COMMIT_DATA_ENTRY_SIZE: usize = SHA1_SIZE + 16; | 14 | const COMMIT_DATA_ENTRY_SIZE: usize = SHA1_SIZE + 16; |
| 16 | const FAN_LEN: usize = 256; | 15 | const FAN_LEN: usize = 256; |