HEX
Server: Apache
System: Linux br512.hostgator.com.br 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User: stiliz28 (2548)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/platformdirs/__pycache__/api.cpython-39.pyc
a

y��d.�@sbddlmZddlZddlZddlmZmZddlmZej	dkrNddl
mZGdd�de�ZdS)	�)�annotationsN)�ABC�abstractmethod)�Path)��)�Literalc@s�eZdZdZd5ddddddd�d	d
�Zddd�d
d�Zeedd�dd���Zeedd�dd���Z	eedd�dd���Z
eedd�dd���Zeedd�dd���Zeedd�dd���Z
eedd�dd���Zeedd�dd���Zeedd�d d!���Zed"d�d#d$��Zed"d�d%d&��Zed"d�d'd(��Zed"d�d)d*��Zed"d�d+d,��Zed"d�d-d.��Zed"d�d/d0��Zed"d�d1d2��Zed"d�d3d4��ZdS)6�PlatformDirsABCz7
    Abstract base class for platform directories.
    NFTz
str | Nonezstr | None | Literal[False]�bool��appname�	appauthor�version�roaming�	multipath�opinioncCs(||_||_||_||_||_||_dS)a%
        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`.
        Nr)�selfrr
rrrr�r�4/usr/lib/python3.9/site-packages/platformdirs/api.py�__init__szPlatformDirsABC.__init__�str)�base�returncGsLt|dd��}|jr4|�|j�|jr4|�|j�tjj|dg|�R�S)N�r)�listr�appendr�os�path�join)rr�paramsrrr�_append_app_name_and_version<sz,PlatformDirsABC._append_app_name_and_version)rcCsdS)z(:return: data directory tied to the userNr�rrrr�
user_data_dirDszPlatformDirsABC.user_data_dircCsdS)z':return: data directory shared by usersNrr!rrr�
site_data_dirIszPlatformDirsABC.site_data_dircCsdS)z*:return: config directory tied to the userNrr!rrr�user_config_dirNszPlatformDirsABC.user_config_dircCsdS)z-:return: config directory shared by the usersNrr!rrr�site_config_dirSszPlatformDirsABC.site_config_dircCsdS)z):return: cache directory tied to the userNrr!rrr�user_cache_dirXszPlatformDirsABC.user_cache_dircCsdS)z):return: state directory tied to the userNrr!rrr�user_state_dir]szPlatformDirsABC.user_state_dircCsdS)z':return: log directory tied to the userNrr!rrr�user_log_dirbszPlatformDirsABC.user_log_dircCsdS)z-:return: documents directory tied to the userNrr!rrr�user_documents_dirgsz"PlatformDirsABC.user_documents_dircCsdS)z+:return: runtime directory tied to the userNrr!rrr�user_runtime_dirlsz PlatformDirsABC.user_runtime_dirrcCs
t|j�S)z#:return: data path tied to the user)rr"r!rrr�user_data_pathqszPlatformDirsABC.user_data_pathcCs
t|j�S)z":return: data path shared by users)rr#r!rrr�site_data_pathvszPlatformDirsABC.site_data_pathcCs
t|j�S)z%:return: config path tied to the user)rr$r!rrr�user_config_path{sz PlatformDirsABC.user_config_pathcCs
t|j�S)z(:return: config path shared by the users)rr%r!rrr�site_config_path�sz PlatformDirsABC.site_config_pathcCs
t|j�S)z$:return: cache path tied to the user)rr&r!rrr�user_cache_path�szPlatformDirsABC.user_cache_pathcCs
t|j�S)z$:return: state path tied to the user)rr'r!rrr�user_state_path�szPlatformDirsABC.user_state_pathcCs
t|j�S)z":return: log path tied to the user)rr(r!rrr�
user_log_path�szPlatformDirsABC.user_log_pathcCs
t|j�S)z(:return: documents path tied to the user)rr)r!rrr�user_documents_path�sz#PlatformDirsABC.user_documents_pathcCs
t|j�S)z&:return: runtime path tied to the user)rr*r!rrr�user_runtime_path�sz!PlatformDirsABC.user_runtime_path)NNNFFT)�__name__�
__module__�__qualname__�__doc__rr �propertyrr"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3rrrrr	sl�+r	)
Z
__future__rr�sys�abcrr�pathlibr�version_info�typingrr	rrrr�<module>s