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

Method __init__

pygit2/index.py:440–445  ·  view source on GitHub ↗
(
        self, path: str | PathLike[str], object_id: Oid, mode: FileMode
    )

Source from the content-addressed store, hash-verified

438 'The mode of this entry, a FileMode value'
439
440 def __init__(
441 self, path: str | PathLike[str], object_id: Oid, mode: FileMode
442 ) -> None:
443 self.path = path
444 self.id = object_id
445 self.mode = mode
446
447 @property
448 def oid(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected