https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/platformdirs/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/platformdirs/__pycache__/api.cpython-310.pyc
o

�1b.�@sbddlmZddlZddlZddlmZmZddlmZej	dkr'ddl
mZGdd�de�ZdS)	�)�annotationsN)�ABC�abstractmethod)�Path)��)�Literalc@sReZdZdZ						d:d;dd�Zd<dd�Zeed=dd���Zeed=dd���Z	eed=dd���Z
eed=dd���Zeed=dd���Zeed=dd ���Z
eed=d!d"���Zeed=d#d$���Zeed=d%d&���Zed>d(d)��Zed>d*d+��Zed>d,d-��Zed>d.d/��Zed>d0d1��Zed>d2d3��Zed>d4d5��Zed>d6d7��Zed>d8d9��ZdS)?�PlatformDirsABCz7
    Abstract base class for platform directories.
    NFT�appname�
str | None�	appauthor�str | None | Literal[False]�version�roaming�bool�	multipath�opinioncCs0||_||_	||_	||_	||_	||_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`.
        N)r
rrrrr)�selfr
rrrrr�r�2/usr/lib/python3/dist-packages/platformdirs/api.py�__init__s
zPlatformDirsABC.__init__�base�str�returncGsLt|dd��}|jr|�|j�|jr|�|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_versioncC�dS)z(:return: data directory tied to the userNr�rrrr�
user_data_dirD�zPlatformDirsABC.user_data_dircCr")z':return: data directory shared by usersNrr#rrr�
site_data_dirIr%zPlatformDirsABC.site_data_dircCr")z*:return: config directory tied to the userNrr#rrr�user_config_dirNr%zPlatformDirsABC.user_config_dircCr")z-:return: config directory shared by the usersNrr#rrr�site_config_dirSr%zPlatformDirsABC.site_config_dircCr")z):return: cache directory tied to the userNrr#rrr�user_cache_dirXr%zPlatformDirsABC.user_cache_dircCr")z):return: state directory tied to the userNrr#rrr�user_state_dir]r%zPlatformDirsABC.user_state_dircCr")z':return: log directory tied to the userNrr#rrr�user_log_dirbr%zPlatformDirsABC.user_log_dircCr")z-:return: documents directory tied to the userNrr#rrr�user_documents_dirgr%z"PlatformDirsABC.user_documents_dircCr")z+:return: runtime directory tied to the userNrr#rrr�user_runtime_dirlr%z PlatformDirsABC.user_runtime_dirrcC�
t|j�S)z#:return: data path tied to the user)rr$r#rrr�user_data_pathq�
zPlatformDirsABC.user_data_pathcCr.)z":return: data path shared by users)rr&r#rrr�site_data_pathvr0zPlatformDirsABC.site_data_pathcCr.)z%:return: config path tied to the user)rr'r#rrr�user_config_path{r0z PlatformDirsABC.user_config_pathcCr.)z(:return: config path shared by the users)rr(r#rrr�site_config_path�r0z PlatformDirsABC.site_config_pathcCr.)z$:return: cache path tied to the user)rr)r#rrr�user_cache_path�r0zPlatformDirsABC.user_cache_pathcCr.)z$:return: state path tied to the user)rr*r#rrr�user_state_path�r0zPlatformDirsABC.user_state_pathcCr.)z":return: log path tied to the user)rr+r#rrr�
user_log_path�r0zPlatformDirsABC.user_log_pathcCr.)z(:return: documents path tied to the user)rr,r#rrr�user_documents_path�r0z#PlatformDirsABC.user_documents_pathcCr.)z&:return: runtime path tied to the user)rr-r#rrr�user_runtime_path�r0z!PlatformDirsABC.user_runtime_path)NNNFFT)r
rrr
rrrrrrrr)rrrr)rr)rr)�__name__�
__module__�__qualname__�__doc__rr!�propertyrr$r&r'r(r)r*r+r,r-r/r1r2r3r4r5r6r7r8rrrrr	sn�
+r	)
�
__future__rr�sys�abcrr�pathlibr�version_info�typingrr	rrrr�<module>s


https://t.me/RX1948 - 2025