Lowercase hex of a core-tagged Git object id.
(oid: &atomic_core::operation::GitObjectId)
| 1480 | |
| 1481 | /// Lowercase hex of a core-tagged Git object id. |
| 1482 | fn hex_oid(oid: &atomic_core::operation::GitObjectId) -> String { |
| 1483 | oid.as_bytes() |
| 1484 | .iter() |
| 1485 | .map(|byte| format!("{byte:02x}")) |
| 1486 | .collect() |
| 1487 | } |
| 1488 | |
| 1489 | /// The verified `(sha, change hash)` rows of `GIT_SHA_INDEX` and the SHAs |
| 1490 | /// whose rows failed validation. |