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

Method delete

test/test_refdb_backend.py:68–69  ·  view source on GitHub ↗
(self, ref_name: str, old_id: Oid | str, old_target: str | None)

Source from the content-addressed store, hash-verified

66 return self.source.rename(old_name, new_name, force, who, message)
67
68 def delete(self, ref_name: str, old_id: Oid | str, old_target: str | None) -> None:
69 return self.source.delete(ref_name, old_id, old_target)
70
71 def compress(self) -> None:
72 return self.source.compress()

Callers 9

test_remote_deleteFunction · 0.45
clonerepoFunction · 0.45
test_branches_deleteFunction · 0.45
test_deleteFunction · 0.45
test_cant_delete_masterFunction · 0.45
test_refs_deleteFunction · 0.45
test_deleteFunction · 0.45
test_deleteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected