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

Function test_remove_aspath

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

Source from the content-addressed store, hash-verified

210
211
212def test_remove_aspath(testrepo: Repository) -> None:
213 index = testrepo.index
214 assert 'hello.txt' in index
215 index.remove(Path('hello.txt'))
216 assert 'hello.txt' not in index
217
218
219def test_remove_directory_aspath(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…