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

Function test_fetch_depth_zero

test/test_remote.py:282–286  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

280
281@utils.requires_network
282def test_fetch_depth_zero(testrepo: Repository) -> None:
283 remote = testrepo.remotes[0]
284 stats = remote.fetch(REMOTE_FETCHTEST_FETCHSPECS, depth=0)
285 assert stats.indexed_objects == REMOTE_REPO_FETCH_ALL_OBJECTS
286 assert stats.received_objects == REMOTE_REPO_FETCH_ALL_OBJECTS
287
288
289@utils.requires_network

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…