move content and header into entry module
4 files changed, 7 insertions(+), 6 deletions(-)

M src/revlogs/content.rs => src/revlogs/entry/content.rs
M src/revlogs/header.rs => src/revlogs/entry/header.rs
M src/revlogs/entry.rs => src/revlogs/entry/mod.rs
M src/revlogs/mod.rs
M src/revlogs/content.rs => src/revlogs/entry/content.rs +0 -0

        
M src/revlogs/header.rs => src/revlogs/entry/header.rs +0 -0

        
M src/revlogs/entry.rs => src/revlogs/entry/mod.rs +5 -2
@@ 4,8 4,11 @@ use std::fs::File;
 use std::io;
 use std::io::Read;
 
-use super::content::RevlogContent;
-use super::header::RevlogHeader;
+pub mod content;
+pub mod header;
+
+use content::RevlogContent;
+use header::RevlogHeader;
 
 #[derive(Debug)]
 pub struct RevlogEntry {

          
M src/revlogs/mod.rs +2 -4
@@ 5,13 5,11 @@ use std::io::Read;
 use std::io::Seek;
 use std::io::SeekFrom;
 
-pub mod content;
 pub mod entry;
-pub mod header;
 
-pub use content::RevlogContent;
+pub use entry::content::RevlogContent;
+pub use entry::header::RevlogHeader;
 pub use entry::RevlogEntry;
-pub use header::RevlogHeader;
 
 #[derive(Debug)]
 pub struct Revlog {