1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
mod commit;
pub use commit::Commit;

mod tag;
pub use tag::Tag;

mod tree;
//FIXME: keep tree mode and entry in tree export it from there? Alternatively rename to TreeMode, TreeEntry?
pub use tree::{Entry as TreeEntry, Mode as TreeMode, Tree};

#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
pub struct Blob<'data> {
    pub data: &'data [u8],
}

mod object;
pub use object::*;

mod util;