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

Function test_add_aspath

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

Source from the content-addressed store, hash-verified

72
73
74def test_add_aspath(testrepo: Repository) -> None:
75 index = testrepo.index
76
77 assert 'bye.txt' not in index
78 index.add(Path('bye.txt'))
79 assert 'bye.txt' in index
80
81
82def test_add_all(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…