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

Function test_add_all_aspath

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

Source from the content-addressed store, hash-verified

114
115
116def test_add_all_aspath(testrepo: Repository) -> None:
117 clear(testrepo)
118
119 index = testrepo.index
120 index.add_all([Path('bye.txt'), Path('hello.txt')])
121 assert 'bye.txt' in index
122 assert 'hello.txt' in index
123
124
125def clear(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 2

clearFunction · 0.85
add_allMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…