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

Function remote

test/test_remote.py:388–389  ·  view source on GitHub ↗
(origin: Repository, clone: Repository)

Source from the content-addressed store, hash-verified

386
387@pytest.fixture
388def remote(origin: Repository, clone: Repository) -> Generator[Remote, None, None]:
389 yield clone.remotes.create('origin', origin.path)
390
391
392def test_push_fast_forward_commits_to_remote_succeeds(

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…