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

Method oid

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

Source from the content-addressed store, hash-verified

446
447 @property
448 def oid(self):
449 warnings.warn('Use entry.id', DeprecationWarning)
450 return self.id
451
452 def __str__(self):
453 return f'<path={self.path} id={self.id} mode={self.mode}>'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected