<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    Ĥa.                 @  sb   d dl mZ d dlZd dlZd dlmZmZ d dlmZ ej	dkrNd dl
mZ G dd deZdS )	    )annotationsN)ABCabstractmethod)Path)      )Literalc               @  s  e Zd ZdZd5dddddddd	d
ZdddddZeeddddZeeddddZ	eeddddZ
eeddddZeeddddZeeddddZeeddddZeeddddZeeddd d!Zed"dd#d$Zed"dd%d&Zed"dd'd(Zed"dd)d*Zed"dd+d,Zed"dd-d.Zed"dd/d0Zed"dd1d2Zed"dd3d4ZdS )6PlatformDirsABCz7
    Abstract base class for platform directories.
    NFTz
str | Nonezstr | None | Literal[False]bool)appname	appauthorversionroaming	multipathopinionc             C  s(   || _ || _|| _|| _|| _|| _dS )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    zPlatformDirsABC.__init__str)basereturnc             G  sJ   t |dd  }| jr4|| j | jr4|| j tjj|d f| S )N   r   )listr   appendr   ospathjoin)r   r   paramsr   r   r   _append_app_name_and_version<   s    z,PlatformDirsABC._append_app_name_and_version)r   c             C  s   dS )z(:return: data directory tied to the userNr   )r   r   r   r   user_data_dirD   s    zPlatformDirsABC.user_data_dirc             C  s   dS )z':return: data directory shared by usersNr   )r   r   r   r   site_data_dirI   s    zPlatformDirsABC.site_data_dirc             C  s   dS )z*:return: config directory tied to the userNr   )r   r   r   r   user_config_dirN   s    zPlatformDirsABC.user_config_dirc             C  s   dS )z-:return: config directory shared by the usersNr   )r   r   r   r   site_config_dirS   s    zPlatformDirsABC.site_config_dirc             C  s   dS )z):return: cache directory tied to the userNr   )r   r   r   r   user_cache_dirX   s    zPlatformDirsABC.user_cache_dirc             C  s   dS )z):return: state directory tied to the userNr   )r   r   r   r   user_state_dir]   s    zPlatformDirsABC.user_state_dirc             C  s   dS )z':return: log directory tied to the userNr   )r   r   r   r   user_log_dirb   s    zPlatformDirsABC.user_log_dirc             C  s   dS )z-:return: documents directory tied to the userNr   )r   r   r   r   user_documents_dirg   s    z"PlatformDirsABC.user_documents_dirc             C  s   dS )z+:return: runtime directory tied to the userNr   )r   r   r   r   user_runtime_dirl   s    z PlatformDirsABC.user_runtime_dirr   c             C  s
   t | jS )z#:return: data path tied to the user)r   r    )r   r   r   r   user_data_pathq   s    zPlatformDirsABC.user_data_pathc             C  s
   t | jS )z":return: data path shared by users)r   r!   )r   r   r   r   site_data_pathv   s    zPlatformDirsABC.site_data_pathc             C  s
   t | jS )z%:return: config path tied to the user)r   r"   )r   r   r   r   user_config_path{   s    z PlatformDirsABC.user_config_pathc             C  s
   t | jS )z(:return: config path shared by the users)r   r#   )r   r   r   r   site_config_path   s    z PlatformDirsABC.site_config_pathc             C  s
   t | jS )z$:return: cache path tied to the user)r   r$   )r   r   r   r   user_cache_path   s    zPlatformDirsABC.user_cache_pathc             C  s
   t | jS )z$:return: state path tied to the user)r   r%   )r   r   r   r   user_state_path   s    zPlatformDirsABC.user_state_pathc             C  s
   t | jS )z":return: log path tied to the user)r   r&   )r   r   r   r   user_log_path   s    zPlatformDirsABC.user_log_pathc             C  s
   t | jS )z(:return: documents path tied to the user)r   r'   )r   r   r   r   user_documents_path   s    z#PlatformDirsABC.user_documents_pathc             C  s
   t | jS )z&:return: runtime path tied to the user)r   r(   )r   r   r   r   user_runtime_path   s    z!PlatformDirsABC.user_runtime_path)NNNFFT)__name__
__module____qualname____doc__r   r   propertyr   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r   r   r   r   r	      sF        $r	   )
__future__r   r   sysabcr   r   Zpathlibr   version_infotypingr   r	   r   r   r   r   <module>   s   
