"""Base API."""
# pragma: no cover (py38+)
# pragma: no cover (py38+)
"""Abstract base class for platform directories."""
"""
Create a new platform directory.
:param appname: See `appname`.
:param appauthor: See `appauthor`.
:param version: See `version`.
:param roaming: See `roaming`.
:param multipath: See `multipath`.
:param opinion: See `opinion`.
:param ensure_exists: See `ensure_exists`.
"""
= #: The name of application.
=
"""
The name of the app author or distributing body for this application. Typically, it is the owning company name.
Defaults to `appname`. You may pass ``False`` to disable it.
"""
=
"""
An optional version path element to append to the path. You might want to use this if you want multiple versions
of your app to be able to run independently. If used, this would typically be ``<major>.<minor>``.
"""
=
"""
Whether to use the roaming appdata directory on Windows. That means that for users on a Windows network setup
for roaming profiles, this user data will be synced on login (see
`here <http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx>`_).
"""
=
"""
An optional parameter only applicable to Unix/Linux which indicates that the entire list of data dirs should be
returned. By default, the first item would only be returned.
"""
= #: A flag to indicating to use opinionated values.
=
"""
Optionally create the directory (and any missing parents) upon access if it does not exist.
By default, no directories are created.
"""
=
= # noqa: PTH118
return
""":return: data directory tied to the user"""
""":return: data directory shared by users"""
""":return: config directory tied to the user"""
""":return: config directory shared by the users"""
""":return: cache directory tied to the user"""
""":return: cache directory shared by users"""
""":return: state directory tied to the user"""
""":return: log directory tied to the user"""
""":return: documents directory tied to the user"""
""":return: downloads directory tied to the user"""
""":return: pictures directory tied to the user"""
""":return: videos directory tied to the user"""
""":return: music directory tied to the user"""
""":return: runtime directory tied to the user"""
""":return: data path tied to the user"""
return
""":return: data path shared by users"""
return
""":return: config path tied to the user"""
return
""":return: config path shared by the users"""
return
""":return: cache path tied to the user"""
return
""":return: cache path shared by users"""
return
""":return: state path tied to the user"""
return
""":return: log path tied to the user"""
return
""":return: documents path tied to the user"""
return
""":return: downloads path tied to the user"""
return
""":return: pictures path tied to the user"""
return
""":return: videos path tied to the user"""
return
""":return: music path tied to the user"""
return
""":return: runtime path tied to the user"""
return