| 543 | /// Canonical Git object identity independent of `git2::Oid`. |
| 544 | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] |
| 545 | pub struct GitObjectId { |
| 546 | algorithm: GitHashAlgorithm, |
| 547 | bytes: Vec<u8>, |
| 548 | } |
| 549 | |
| 550 | impl GitObjectId { |
| 551 | /// Construct and validate an algorithm-tagged object identity. |
no outgoing calls
no test coverage detected