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

Method delete

pygit2/branches.py:89–90  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

87 return self._repository.create_branch(name, commit, force)
88
89 def delete(self, name: str) -> None:
90 self[name].delete()
91
92 def _valid(self, branch: Branch) -> bool:
93 if branch.type == ReferenceType.SYMBOLIC:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected