(&self, oid: &GitObjectId)
| 806 | |
| 807 | impl GitObjectDatabase { |
| 808 | pub fn get(&self, oid: &GitObjectId) -> Option<&GitObject> { |
| 809 | self.objects.get(oid) |
| 810 | } |
| 811 | |
| 812 | pub fn iter(&self) -> impl Iterator<Item = (&GitObjectId, &GitObject)> { |
| 813 | self.objects.iter() |