Showing the changes to git-pack/src/data/input (1 of 58 files). Show all
Unified · Split
| @@ -21,7 +21,7 @@ pub struct EntriesToBytesIter<I: Iterator, W> { · 20 unmodified lines | |||
| 21 | data_version: crate::data::Version, | 21 | data_version: crate::data::Version, |
| 22 | /// The amount of entries seen so far | 22 | /// The amount of entries seen so far |
| 23 | num_entries: u32, | 23 | num_entries: u32, |
| 24 | /// If we are done, no additional writes will occour | 24 | /// If we are done, no additional writes will occur |
| 25 | is_done: bool, | 25 | is_done: bool, |
| 26 | /// The kind of hash to use for the digest | 26 | /// The kind of hash to use for the digest |
| 27 | object_hash: git_hash::Kind, | 27 | object_hash: git_hash::Kind, |
| @@ -33,7 +33,7 @@ where · 5 unmodified lines | |||
| 33 | W: std::io::Read + std::io::Write + std::io::Seek, | 33 | W: std::io::Read + std::io::Write + std::io::Seek, |
| 34 | { | 34 | { |
| 35 | /// Create a new instance reading [entries][input::Entry] from an `input` iterator and write pack data bytes to | 35 | /// Create a new instance reading [entries][input::Entry] from an `input` iterator and write pack data bytes to |
| 36 | /// `output` writer, resembling a pack of `version`. The amonut of entries will be dynaimcally determined and | 36 | /// `output` writer, resembling a pack of `version`. The amount of entries will be dynaimcally determined and |
| 37 | /// the pack is completed once the last entry was written. | 37 | /// the pack is completed once the last entry was written. |
| 38 | /// `object_hash` is the kind of hash to use for the pack checksum and maybe other places, depending on the version. | 38 | /// `object_hash` is the kind of hash to use for the pack checksum and maybe other places, depending on the version. |
| 39 | /// | 39 | /// |