This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / knot2 / third_party / gix-pack / src / find.rs
598 B 12 lines
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}