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

Method __del__

pygit2/config.py:107–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 return config
106
107 def __del__(self) -> None:
108 try:
109 C.git_config_free(self._config)
110 except AttributeError:
111 pass
112
113 def _get(self, key: str | bytes) -> tuple[int, 'ConfigEntry']:
114 key = str_to_bytes(key, 'key')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected