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

Function test_create_empty_read_tree

test/test_index.py:312–316  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

310
311
312def test_create_empty_read_tree(testrepo: Repository) -> None:
313 index = Index()
314 tree = testrepo['fd937514cb799514d4b81bb24c5fcfeb6472b245']
315 assert isinstance(tree, Tree)
316 index.read_tree(tree)
317
318
319@utils.fails_in_macos

Callers

nothing calls this directly

Calls 2

read_treeMethod · 0.95
IndexClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…