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

Method __str__

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

Source from the content-addressed store, hash-verified

450 return self.id
451
452 def __str__(self):
453 return f'<path={self.path} id={self.id} mode={self.mode}>'
454
455 def __repr__(self):
456 t = type(self)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected