gix_pack/
find.rs

1/// An Entry in a pack providing access to its data.
2///
3/// Its commonly retrieved by reading from a pack index file followed by a read from a pack data file.
4#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]
5#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
6#[allow(missing_docs)]
7pub struct Entry {
8    /// The pack-data encoded bytes of the pack data entry as present in the pack file, including the header followed by compressed data.
9    pub data: Vec<u8>,
10    /// The version of the pack file containing `data`
11    pub version: crate::data::Version,
12}