1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use git_hash::ObjectId;
#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
pub struct Entry {
pub id: ObjectId,
pub object_kind: git_object::Kind,
pub entry_kind: entry::Kind,
pub decompressed_size: usize,
pub compressed_data: Vec<u8>,
}
pub mod entry;
pub mod objects_to_entries;
pub use objects_to_entries::objects_to_entries_iter;
pub mod entries_to_bytes;
pub use entries_to_bytes::EntriesToBytesIter;