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

Method __contains__

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

Source from the content-addressed store, hash-verified

101 self[name].delete()
102
103 def __contains__(self, name: str) -> bool:
104 return self.get(name) is not None
105
106 @property
107 def objects(self) -> list['Reference']:

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected