Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ homedir
Method
homedir
pygit2/settings.py:324–326 ·
view source on GitHub ↗
Get or set the home directory
(self)
Source
from the content-addressed store, hash-verified
322
323
@property
324
def
homedir(self) -> str | None:
325
""
"Get or set the home directory"
""
326
return
option(Option.GET_HOMEDIR)
327
328
@homedir.setter
329
def
homedir(self, value: str | bytes) -> None:
Callers
nothing calls this directly
Calls
1
option
Function · 0.90
Tested by
no test coverage detected