(oid: &atomic_core::operation::GitObjectId)
| 100 | } |
| 101 | |
| 102 | fn git2_oid_of(oid: &atomic_core::operation::GitObjectId) -> Result<git2::Oid, RepositoryError> { |
| 103 | git2::Oid::from_bytes(oid.as_bytes()).map_err(|error| RepositoryError::InvalidOperation { |
| 104 | message: format!("invalid Git OID: {error}"), |
| 105 | }) |
| 106 | } |
| 107 | |
| 108 | /// How the resurrection compared the recomputed projection to the binding. |
| 109 | #[derive(Debug, Clone, PartialEq, Eq)] |
no test coverage detected