HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/platformdirs/__pycache__/__init__.cpython-310.pyc
o

�1b�1�@s�dZddlmZddlZddlZddlmZddlmZer$ddl	m
Z
ddlmZdd	l
mZmZd@dd
�Ze�ZeZ				dAdBdd�Z				dAdCdd�Z				dAdBdd�Z				dAdCdd�Z				 dDdEd"d#�Z				dAdBd$d%�Z				 dDdEd&d'�ZdFd(d)�Z				 dDdEd*d+�Z				dAdGd-d.�Z				dAdHd/d0�Z				dAdGd1d2�Z				dAdHd3d4�Z				 dDdId5d6�Z 				dAdGd7d8�Z!				 dDdId9d:�Z"dJd;d<�Z#				 dDdId=d>�Z$gd?�Z%dS)Kz�
Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and
usage.
�)�annotationsN)�Path)�
TYPE_CHECKING)�Literal�)�PlatformDirsABC)�__version__�__version_info__�return�type[PlatformDirsABC]cCs�tjdkrddlm}ntjdkrddlm}nddlm}t�	d�dkr?t�	d	�d
kr?ddl
m}|�dur?ddl
m}|S|S)
N�win32r)�Windows�darwin)�MacOS)�Unix�ANDROID_DATAz/data�ANDROID_ROOTz/system)�_android_folder)�Android)
�sys�platform�platformdirs.windowsr
�platformdirs.macosr�platformdirs.unixr�os�getenv�platformdirs.androidrr)�Resultrr�r�7/usr/lib/python3/dist-packages/platformdirs/__init__.py�_set_platform_dir_classs


r F�appname�
str | None�	appauthor�str | None | Literal[False]�version�roaming�bool�strcC�t||||d�jS)aq
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: data directory tied to the user
    �r!r#r%r&)�PlatformDirs�
user_data_dirr*rrrr,*�
r,�	multipathcCr))at
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: data directory shared by users
    �r!r#r%r.)r+�
site_data_dirr/rrrr0:r-r0cCr))as
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: config directory tied to the user
    r*)r+�user_config_dirr*rrrr1Jr-r1cCr))az
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: config directory shared by the users
    r/)r+�site_config_dirr/rrrr2Zr-r2T�opinioncCr))ar
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: cache directory tied to the user
    �r!r#r%r3)r+�user_cache_dirr4rrrr5jr-r5cCr))ar
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: state directory tied to the user
    r*)r+�user_state_dirr*rrrr6zr-r6cCr))ap
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: log directory tied to the user
    r4)r+�user_log_dirr4rrrr7�r-r7cC�t�jS)z8
    :returns: documents directory tied to the user
    )r+�user_documents_dirrrrrr9��r9cCr))at
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: runtime directory tied to the user
    r4)r+�user_runtime_dirr4rrrr;�r-r;rcCr))al
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: data path tied to the user
    r*)r+�user_data_pathr*rrrr<�r-r<cCr))aq
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `multipath <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: data path shared by users
    r/)r+�site_data_pathr/rrrr=�r-r=cCr))an
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: config path tied to the user
    r*)r+�user_config_pathr*rrrr>�r-r>cCr))au
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: config path shared by the users
    r/)r+�site_config_pathr/rrrr?�r-r?cCr))am
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: cache path tied to the user
    r4)r+�user_cache_pathr4rrrr@�r-r@cCr))am
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: state path tied to the user
    r*)r+�user_state_pathr*rrrrAr-rAcCr))ak
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: log path tied to the user
    r4)r+�
user_log_pathr4rrrrBr-rBcCr8)z3
    :returns: documents path tied to the user
    )r+�user_documents_pathrrrrrC!r:rCcCr))ao
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: runtime path tied to the user
    r4)r+�user_runtime_pathr4rrrrD(r-rD)rr	r+�AppDirsrr,r1r5r6r7r9r;r0r2r<r>r@rArBrCrDr=r?)r
r)NNNF)
r!r"r#r$r%r"r&r'r
r()
r!r"r#r$r%r"r.r'r
r()NNNT)
r!r"r#r$r%r"r3r'r
r()r
r()
r!r"r#r$r%r"r&r'r
r)
r!r"r#r$r%r"r.r'r
r)
r!r"r#r$r%r"r3r'r
r)r
r)&�__doc__�
__future__rrr�pathlibr�typingr�typing_extensionsr�apirr%rr	r r+rEr,r0r1r2r5r6r7r9r;r<r=r>r?r@rArBrCrD�__all__rrrr�<module>s�
�������
��������
�