403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/platformdirs/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/platformdirs/__pycache__/api.cpython-39.pyc
a

���e�"�@shdZddlmZddlZddlmZmZddlmZddl	m
Z
e
rTddl	mZmZGdd	�d	e�Z
dS)
z	Base API.�)�annotationsN)�ABC�abstractmethod)�Path)�
TYPE_CHECKING)�Iterator�Literalc
@s>eZdZdZdgddddddddd	�d
d�Zddd
�dd�Zddd�dd�Zeedd�dd���Z	eedd�dd���Z
eedd�dd���Zeedd�dd���Zeedd�dd���Z
eedd�dd���Zeedd�d d!���Zeedd�d"d#���Zeedd�d$d%���Zeedd�d&d'���Zeedd�d(d)���Zeedd�d*d+���Zeedd�d,d-���Zeedd�d.d/���Zeedd�d0d1���Zeedd�d2d3���Zed4d�d5d6��Zed4d�d7d8��Zed4d�d9d:��Zed4d�d;d<��Zed4d�d=d>��Zed4d�d?d@��Zed4d�dAdB��Zed4d�dCdD��Z ed4d�dEdF��Z!ed4d�dGdH��Z"ed4d�dIdJ��Z#ed4d�dKdL��Z$ed4d�dMdN��Z%ed4d�dOdP��Z&ed4d�dQdR��Z'ed4d�dSdT��Z(dUd�dVdW�Z)dUd�dXdY�Z*dUd�dZd[�Z+dUd�d\d]�Z,d^d�d_d`�Z-d^d�dadb�Z.d^d�dcdd�Z/d^d�dedf�Z0dS)h�PlatformDirsABCz-Abstract base class for platform directories.NFTz
str | Nonezstr | None | Literal[False]�bool�None)�appname�	appauthor�version�roaming�	multipath�opinion�
ensure_exists�returncCs.||_||_||_||_||_||_||_dS)aX
        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`.
        N)rr
rrrrr)�selfrr
rrrrr�r�4/usr/lib/python3.9/site-packages/platformdirs/api.py�__init__szPlatformDirsABC.__init__�str)�basercGsZt|dd��}|jr4|�|j�|jr4|�|j�tjj|dg|�R�}|�|�|S)N�r)�listr�appendr�os�path�join�_optionally_create_directory)rr�paramsrrrr�_append_app_name_and_versionCs
z,PlatformDirsABC._append_app_name_and_version)rrcCs|jrt|�jddd�dS)NT)�parents�exist_ok)rr�mkdir�rrrrrr Msz,PlatformDirsABC._optionally_create_directory)rcCsdS)z(:return: data directory tied to the userNr�rrrr�
user_data_dirQszPlatformDirsABC.user_data_dircCsdS)z':return: data directory shared by usersNrr'rrr�
site_data_dirVszPlatformDirsABC.site_data_dircCsdS)z*:return: config directory tied to the userNrr'rrr�user_config_dir[szPlatformDirsABC.user_config_dircCsdS)z-:return: config directory shared by the usersNrr'rrr�site_config_dir`szPlatformDirsABC.site_config_dircCsdS)z):return: cache directory tied to the userNrr'rrr�user_cache_direszPlatformDirsABC.user_cache_dircCsdS)z(:return: cache directory shared by usersNrr'rrr�site_cache_dirjszPlatformDirsABC.site_cache_dircCsdS)z):return: state directory tied to the userNrr'rrr�user_state_diroszPlatformDirsABC.user_state_dircCsdS)z':return: log directory tied to the userNrr'rrr�user_log_dirtszPlatformDirsABC.user_log_dircCsdS)z-:return: documents directory tied to the userNrr'rrr�user_documents_dirysz"PlatformDirsABC.user_documents_dircCsdS)z-:return: downloads directory tied to the userNrr'rrr�user_downloads_dir~sz"PlatformDirsABC.user_downloads_dircCsdS)z,:return: pictures directory tied to the userNrr'rrr�user_pictures_dir�sz!PlatformDirsABC.user_pictures_dircCsdS)z*:return: videos directory tied to the userNrr'rrr�user_videos_dir�szPlatformDirsABC.user_videos_dircCsdS)z):return: music directory tied to the userNrr'rrr�user_music_dir�szPlatformDirsABC.user_music_dircCsdS)z+:return: desktop directory tied to the userNrr'rrr�user_desktop_dir�sz PlatformDirsABC.user_desktop_dircCsdS)z+:return: runtime directory tied to the userNrr'rrr�user_runtime_dir�sz PlatformDirsABC.user_runtime_dircCsdS)z*:return: runtime directory shared by usersNrr'rrr�site_runtime_dir�sz PlatformDirsABC.site_runtime_dirrcCs
t|j�S)z#:return: data path tied to the user)rr(r'rrr�user_data_path�szPlatformDirsABC.user_data_pathcCs
t|j�S)z":return: data path shared by users)rr)r'rrr�site_data_path�szPlatformDirsABC.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: cache path shared by users)rr-r'rrr�site_cache_path�szPlatformDirsABC.site_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)rr0r'rrr�user_documents_path�sz#PlatformDirsABC.user_documents_pathcCs
t|j�S)z(:return: downloads path tied to the user)rr1r'rrr�user_downloads_path�sz#PlatformDirsABC.user_downloads_pathcCs
t|j�S)z':return: pictures path tied to the user)rr2r'rrr�user_pictures_path�sz"PlatformDirsABC.user_pictures_pathcCs
t|j�S)z%:return: videos path tied to the user)rr3r'rrr�user_videos_path�sz PlatformDirsABC.user_videos_pathcCs
t|j�S)z$:return: music path tied to the user)rr4r'rrr�user_music_path�szPlatformDirsABC.user_music_pathcCs
t|j�S)z&:return: desktop path tied to the user)rr5r'rrr�user_desktop_path�sz!PlatformDirsABC.user_desktop_pathcCs
t|j�S)z&:return: runtime path tied to the user)rr6r'rrr�user_runtime_path�sz!PlatformDirsABC.user_runtime_pathcCs
t|j�S)z%:return: runtime path shared by users)rr7r'rrr�site_runtime_path�sz!PlatformDirsABC.site_runtime_pathz
Iterator[str]ccs|jV|jVdS)z4:yield: all user and site configuration directories.N)r*r+r'rrr�iter_config_dirs�sz PlatformDirsABC.iter_config_dirsccs|jV|jVdS)z+:yield: all user and site data directories.N)r(r)r'rrr�iter_data_dirs�szPlatformDirsABC.iter_data_dirsccs|jV|jVdS)z,:yield: all user and site cache directories.N)r,r-r'rrr�iter_cache_dirs�szPlatformDirsABC.iter_cache_dirsccs|jV|jVdS)z.:yield: all user and site runtime directories.N)r6r7r'rrr�iter_runtime_dirssz!PlatformDirsABC.iter_runtime_dirszIterator[Path]ccs|��D]}t|�VqdS)z.:yield: all user and site configuration paths.N)rHrr&rrr�iter_config_pathssz!PlatformDirsABC.iter_config_pathsccs|��D]}t|�VqdS)z%:yield: all user and site data paths.N)rIrr&rrr�iter_data_paths
szPlatformDirsABC.iter_data_pathsccs|��D]}t|�VqdS)z&:yield: all user and site cache paths.N)rJrr&rrr�iter_cache_pathssz PlatformDirsABC.iter_cache_pathsccs|��D]}t|�VqdS)z(:yield: all user and site runtime paths.N)rKrr&rrr�iter_runtime_pathssz"PlatformDirsABC.iter_runtime_paths)NNNFFTF)1�__name__�
__module__�__qualname__�__doc__rr"r �propertyrr(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrrrrr	s��2
r	)rSZ
__future__rr�abcrr�pathlibr�typingrrrr	rrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit