History

[commitgraph] Rearrange some `use` statements.

Conor Davis committed 6 years ago

Commit 185d14b1 parent be0e8451 file · +4 −5Browse files

Showing the changes to git-commitgraph/src (1 of 1 file). Show all

Unified · Split

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