(self, key: Oid | str, default: Optional[Commit] = None)
| 269 | # Mapping interface |
| 270 | # |
| 271 | def get(self, key: Oid | str, default: Optional[Commit] = None) -> None | Object: |
| 272 | value = self.git_object_lookup_prefix(key) |
| 273 | return value if (value is not None) else default |
| 274 | |
| 275 | def __getitem__(self, key: str | Oid) -> Object: |
| 276 | value = self.git_object_lookup_prefix(key) |
nothing calls this directly
no outgoing calls
no test coverage detected