MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / protection

Method protection

github/Branch.py:134–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

132
133 @property
134 def protection(self) -> BranchProtection:
135 if is_undefined(self._protection):
136 return self.get_protection()
137 return self._protection.value
138
139 @property
140 def protection_url(self) -> str:

Callers

nothing calls this directly

Calls 2

get_protectionMethod · 0.95
is_undefinedFunction · 0.90

Tested by

no test coverage detected