The object ID representing the empty blob.
(self)
| 308 | |
| 309 | /// The object ID representing the empty blob. |
| 310 | pub const fn empty_blob(self) -> &'static ObjectID { |
| 311 | match self { |
| 312 | HashAlgorithm::SHA1 => &Self::SHA1_EMPTY_BLOB, |
| 313 | HashAlgorithm::SHA256 => &Self::SHA256_EMPTY_BLOB, |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | /// The object ID representing the empty tree. |
| 318 | pub const fn empty_tree(self) -> &'static ObjectID { |
no outgoing calls