AlkantarClanX12
Current Path : /opt/alt/python37/lib/python3.7/site-packages/platformdirs/__pycache__/ |
Current File : //opt/alt/python37/lib/python3.7/site-packages/platformdirs/__pycache__/api.cpython-37.pyc |
B Ĥ�a. � @ sb d dl mZ d dlZd dlZd dlmZmZ d dlmZ ej dkrNd dl mZ G dd� de�ZdS ) � )�annotationsN)�ABC�abstractmethod)�Path)� � )�Literalc @ s� e Zd ZdZd5ddddddd�d d �Zddd�d d�Zeedd�dd���Zeedd�dd���Z eedd�dd���Z eedd�dd���Zeedd�dd���Zeedd�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�opinionc C s( || _ || _|| _|| _|| _|| _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 r r r r )�selfr r r r r r � r �A/opt/alt/python37/lib/python3.7/site-packages/platformdirs/api.py�__init__ s zPlatformDirsABC.__init__�str)�base�returnc G sJ t |dd � �}| jr4|�| j� | jr4|�| j� tjj|d f|�� S )N� r )�listr �appendr �os�path�join)r r �paramsr r r �_append_app_name_and_version<