get_home
- get_home(ensure_exists: bool = True) Path[source]
Get the PyStow home directory.
- Parameters:
ensure_exists – If true, ensures the directory is created
- Returns:
A path object representing the pystow home directory, as one of:
PYSTOW_HOME_ENVVARenvironment variable orThe user data directory defined by
appdirsorplatformdirsif thePYSTOW_USE_APPDIRSenvironment variable is set totrueorThe default directory constructed in the user’s home directory plus what’s returned by
get_name().