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

Function new_git_strarray

pygit2/utils.py:107–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106@contextlib.contextmanager
107def new_git_strarray() -> Generator['GitStrrayC', None, None]:
108 strarray = ffi.new('git_strarray *')
109 yield strarray
110 C.git_strarray_dispose(strarray)
111
112
113def strarray_to_strings(arr) -> list[str]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…