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

Method __delitem__

pygit2/index.py:516–518  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

514 return ancestor, ours, theirs
515
516 def __delitem__(self, path):
517 err = C.git_index_conflict_remove(self._index._index, to_bytes(path))
518 check_error(err)
519
520 def __iter__(self):
521 return ConflictIterator(self._index)

Callers

nothing calls this directly

Calls 2

to_bytesFunction · 0.85
check_errorFunction · 0.85

Tested by

no test coverage detected