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

Method set_extensions

pygit2/settings.py:319–321  ·  view source on GitHub ↗

Set the list of enabled extensions

(self, extensions: list[str])

Source from the content-addressed store, hash-verified

317 return option(Option.GET_EXTENSIONS)
318
319 def set_extensions(self, extensions: list[str]) -> None:
320 """Set the list of enabled extensions"""
321 option(Option.SET_EXTENSIONS, extensions, len(extensions))
322
323 @property
324 def homedir(self) -> str | None:

Callers 1

test_extensionsFunction · 0.80

Calls 1

optionFunction · 0.90

Tested by 1

test_extensionsFunction · 0.64