| Server IP : 195.114.193.97 / Your IP : 216.73.217.93 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/platformdirs/__pycache__/ |
Upload File : |
o
�1b�1 � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ er$ddl m
Z
ddlmZ dd l
mZmZ d@dd
�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$g d?�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]c C s� t jdkrddlm} nt jdkrddlm} nddlm} t� d�dkr?t� d �d
kr?ddl
m} |� d ur?ddl
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.androidr r )�Resultr r � r �7/usr/lib/python3/dist-packages/platformdirs/__init__.py�_set_platform_dir_class s
r F�appname�
str | None� appauthor�str | None | Literal[False]�version�roaming�bool�strc C � 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&