Showing the changes to git-commitgraph/src (1 of 11 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ impl File { · 27 unmodified lines | |||
| 28 | /// | 28 | /// |
| 29 | /// Note that it is always conforming to the hash used in the owning repository. | 29 | /// Note that it is always conforming to the hash used in the owning repository. |
| 30 | pub fn hash_kind(&self) -> git_hash::Kind { | 30 | pub fn hash_kind(&self) -> git_hash::Kind { |
| 31 | git_hash::Kind::from_len_in_bytes(self.hash_len).expect("hash len validated during init") | 31 | git_hash::Kind::from_len_in_bytes(self.hash_len) |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | /// Returns an object id at the given index in our list of (sorted) hashes. | 34 | /// Returns an object id at the given index in our list of (sorted) hashes. |