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

Method __enter__

pygit2/utils.py:171–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 self.__array = ffi.new('git_strarray *', [self.__arr, len(strings)]) # type: ignore[call-overload]
170
171 def __enter__(self) -> 'StrArray':
172 return self
173
174 def __exit__(
175 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected