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

Function test_remove_all

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

Source from the content-addressed store, hash-verified

201
202
203def test_remove_all(testrepo: Repository) -> None:
204 index = testrepo.index
205 assert 'hello.txt' in index
206 index.remove_all(['*.txt'])
207 assert 'hello.txt' not in index
208
209 index.remove_all(['not-existing']) # this doesn't error
210
211
212def test_remove_aspath(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

remove_allMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…