(cls, repo, ptr)
| 61 | |
| 62 | @classmethod |
| 63 | def from_c(cls, repo, ptr): |
| 64 | index = cls.__new__(cls) |
| 65 | index._repo = repo |
| 66 | index._index = ptr[0] |
| 67 | index._cindex = ptr |
| 68 | |
| 69 | return index |
| 70 | |
| 71 | @property |
| 72 | def _pointer(self): |
no outgoing calls
no test coverage detected