(self, key: str | Oid)
| 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) |
| 277 | if value is None: |
| 278 | raise KeyError(key) |
| 279 | return value |
| 280 | |
| 281 | def __contains__(self, key: str | Oid) -> bool: |
| 282 | return self.git_object_lookup_prefix(key) is not None |
nothing calls this directly
no outgoing calls
no test coverage detected