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

Method __init__

test/utils.py:119–121  ·  view source on GitHub ↗
(self, name: str, tmp_path: Path)

Source from the content-addressed store, hash-verified

117
118class TemporaryRepository:
119 def __init__(self, name: str, tmp_path: Path) -> None:
120 self.name = name
121 self.tmp_path = tmp_path
122
123 def __enter__(self) -> Path:
124 path = Path(__file__).parent / 'data' / self.name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected