MCPcopy Create free account
hub / github.com/libgit2/pygit2 / __repr__

Method __repr__

pygit2/index.py:455–457  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

453 return f'<path={self.path} id={self.id} mode={self.mode}>'
454
455 def __repr__(self):
456 t = type(self)
457 return f'<{t.__module__}.{t.__qualname__} path={self.path} id={self.id} mode={self.mode}>'
458
459 def __eq__(self, other):
460 if self is other:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected