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

Function test_remove

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

Source from the content-addressed store, hash-verified

187
188
189def test_remove(testrepo: Repository) -> None:
190 index = testrepo.index
191 assert 'hello.txt' in index
192 index.remove('hello.txt')
193 assert 'hello.txt' not in index
194
195
196def test_remove_directory(dirtyrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…