Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/platformdirs/__pycache__/__init__.cpython-39.pyc
Ðазад
a e�hW � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z ddl mZ erldd l mZ dd lmZ ejdkr�ddlmZ n$ejd kr�ddlmZ nddlmZ dd�dd�Zer�eZne� ZeZd_ddddddd�dd�Zd`ddddddd�dd�Zdaddddddd�dd �Zdbddddddd�d!d"�Zdcddddddd$�d%d&�Zddddddddd$�d'd(�Z deddddddd�d)d*�Z!dfddddddd$�d+d,�Z"dd�d-d.�Z#dd�d/d0�Z$dd�d1d2�Z%dd�d3d4�Z&dd�d5d6�Z'dd�d7d8�Z(dgddddddd$�d9d:�Z)dhddddddd$�d;d<�Z*didddddd=d�d>d?�Z+djdddddd=d�d@dA�Z,dkdddddd=d�dBdC�Z-dldddddd=d�dDdE�Z.dmdddddd=d$�dFdG�Z/dndddddd=d$�dHdI�Z0dodddddd=d�dJdK�Z1dpdddddd=d$�dLdM�Z2d=d�dNdO�Z3d=d�dPdQ�Z4d=d�dRdS�Z5d=d�dTdU�Z6d=d�dVdW�Z7d=d�dXdY�Z8dqdddddd=d$�dZd[�Z9drdddddd=d$�d\d]�Z:g d^�Z;dS )sz� Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and usage. � )�annotationsN)� TYPE_CHECKING� )�PlatformDirsABC)�__version__)�__version_tuple__)�Path)�Literal�win32)�Windows�darwin)�MacOS)�Unixztype[PlatformDirsABC])�returnc C s^ t �d�dkrZt �d�dkrZt �d�s0t �d�r4tS ddlm} | � d urZdd lm} |S tS ) N�ANDROID_DATAz/data�ANDROID_ROOTz/system�SHELL�PREFIXr )�_android_folder)�Android)�os�getenv�_ResultZplatformdirs.androidr r )r r � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/platformdirs/__init__.py�_set_platform_dir_class s r Fz str | Nonezstr | Literal[False] | None�bool�str)�appname� appauthor�version�roaming� ensure_existsr c C s t | ||||d�jS )a� :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.roaming>`. :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`. :returns: data directory tied to the user �r r r r! r"