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

Method delete

pygit2/references.py:100–101  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

98 return self._repository.create_reference(name, target, force)
99
100 def delete(self, name: str) -> None:
101 self[name].delete()
102
103 def __contains__(self, name: str) -> bool:
104 return self.get(name) is not None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected