`true` if the last seen commit in self and the provided one have the same `checksum`.
(&self, commit: &StoredCommit)
| 800 | /// `true` if the last seen commit in self and the provided one have the |
| 801 | /// same `checksum`. |
| 802 | fn same_checksum_as(&self, commit: &StoredCommit) -> bool { |
| 803 | let Some(checksum) = self.checksum() else { return false }; |
| 804 | checksum == &commit.checksum |
| 805 | } |
| 806 | |
| 807 | fn checksum(&self) -> Option<&u32> { |
| 808 | match self { |