ó
    ‘Rj=$  ã                  ó€   • S r SSKJr  SSKrSSKJrJr  SSKJr  SSK	J
r
  \
(       a  SSKJr  SSK	Jr   " S	 S
\5      rg)z	Base API.é    )ÚannotationsN)ÚABCÚabstractmethod)ÚPath)ÚTYPE_CHECKING)ÚIterator)ÚLiteralc                  óà  • \ rS rSrSr       S1               S2S jjrS3S jrS4S jrS5S jr\	\
S6S j5       5       r\	\
S6S	 j5       5       r\	\
S6S
 j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	\
S6S j5       5       r\	S7S j5       r\	S7S j5       r\	S7S j5       r\	S7S j5       r\	S7S j5       r\	S7S j5       r \	S7S j5       r!\	S7S j5       r"\	S7S  j5       r#\	S7S! j5       r$\	S7S" j5       r%\	S7S# j5       r&\	S7S$ j5       r'\	S7S% j5       r(\	S7S& j5       r)\	S7S' j5       r*S8S( jr+S8S) jr,S8S* jr-S8S+ jr.S9S, jr/S9S- jr0S9S. jr1S9S/ jr2S0r3g):ÚPlatformDirsABCé   z-Abstract base class for platform directories.Nc                ó`   • Xl         X l         X0l         X@l         XPl         X`l        Xpl        g)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`.
:param ensure_exists: See `ensure_exists`.

N)ÚappnameÚ	appauthorÚversionÚroamingÚ	multipathÚopinionÚensure_exists)Úselfr   r   r   r   r   r   r   s           ÚHD:\diplom_project\venv\Lib\site-packages\pip/_vendor/platformdirs/api.pyÚ__init__ÚPlatformDirsABC.__init__   sI   € ð, ŒØ"Œð	ð Œð	ð Œð	ð #Œð	ð ŒØ*Ôð	ó    c                ó<  • [        USS  5      nU R                  (       aG  UR                  U R                  5        U R                  (       a  UR                  U R                  5        [        R
                  R                  " US   /UQ76 nU R                  U5        U$ )Né   r   )Úlistr   Úappendr   ÚosÚpathÚjoinÚ_optionally_create_directory)r   ÚbaseÚparamsr   s       r   Ú_append_app_name_and_versionÚ,PlatformDirsABC._append_app_name_and_versionQ   sm   € Ü�d˜1˜2�h“ˆØ�<�<Ø�M‰M˜$Ÿ,™,Ô'Ø�|�|Ø—‘˜dŸl™lÔ+Ü�w‰w�|Š|˜D ™GÐ- fÒ-ˆØ×)Ñ)¨$Ô/Øˆr   c                óZ   • U R                   (       a  [        U5      R                  SSS9  g g )NT)ÚparentsÚexist_ok)r   r   Úmkdir©r   r   s     r   r!   Ú,PlatformDirsABC._optionally_create_directory[   s'   € Ø××Ü�‹J×Ñ T°DÐÒ9ð r   c                ó~   • U R                   (       a"  UR                  [        R                  5      S   n[	        U5      $ )Nr   )r   Úsplitr   Úpathsepr   )r   Ú	directorys     r   Ú _first_item_as_path_if_multipathÚ0PlatformDirsABC._first_item_as_path_if_multipath_   s*   € Ø�>�>à!Ÿ™¬¯
©
Ó3°AÑ6ˆIÜ�I‹Ðr   c                ó   • g)z(:return: data directory tied to the userN© ©r   s    r   Úuser_data_dirÚPlatformDirsABC.user_data_dire   ó   � r   c                ó   • g)z':return: data directory shared by usersNr3   r4   s    r   Úsite_data_dirÚPlatformDirsABC.site_data_dirj   r7   r   c                ó   • g)z*:return: config directory tied to the userNr3   r4   s    r   Úuser_config_dirÚPlatformDirsABC.user_config_diro   r7   r   c                ó   • g)z-:return: config directory shared by the usersNr3   r4   s    r   Úsite_config_dirÚPlatformDirsABC.site_config_dirt   r7   r   c                ó   • g)z):return: cache directory tied to the userNr3   r4   s    r   Úuser_cache_dirÚPlatformDirsABC.user_cache_diry   r7   r   c                ó   • g)z(:return: cache directory shared by usersNr3   r4   s    r   Úsite_cache_dirÚPlatformDirsABC.site_cache_dir~   r7   r   c                ó   • g)z):return: state directory tied to the userNr3   r4   s    r   Úuser_state_dirÚPlatformDirsABC.user_state_dirƒ   r7   r   c                ó   • g)z':return: log directory tied to the userNr3   r4   s    r   Úuser_log_dirÚPlatformDirsABC.user_log_dirˆ   r7   r   c                ó   • g)z-:return: documents directory tied to the userNr3   r4   s    r   Úuser_documents_dirÚ"PlatformDirsABC.user_documents_dir�   r7   r   c                ó   • g)z-:return: downloads directory tied to the userNr3   r4   s    r   Úuser_downloads_dirÚ"PlatformDirsABC.user_downloads_dir’   r7   r   c                ó   • g)z,:return: pictures directory tied to the userNr3   r4   s    r   Úuser_pictures_dirÚ!PlatformDirsABC.user_pictures_dir—   r7   r   c                ó   • g)z*:return: videos directory tied to the userNr3   r4   s    r   Úuser_videos_dirÚPlatformDirsABC.user_videos_dirœ   r7   r   c                ó   • g)z):return: music directory tied to the userNr3   r4   s    r   Úuser_music_dirÚPlatformDirsABC.user_music_dir¡   r7   r   c                ó   • g)z+:return: desktop directory tied to the userNr3   r4   s    r   Úuser_desktop_dirÚ PlatformDirsABC.user_desktop_dir¦   r7   r   c                ó   • g)z+:return: runtime directory tied to the userNr3   r4   s    r   Úuser_runtime_dirÚ PlatformDirsABC.user_runtime_dir«   r7   r   c                ó   • g)z*:return: runtime directory shared by usersNr3   r4   s    r   Úsite_runtime_dirÚ PlatformDirsABC.site_runtime_dir°   r7   r   c                ó,   • [        U R                  5      $ )z#:return: data path tied to the user)r   r5   r4   s    r   Úuser_data_pathÚPlatformDirsABC.user_data_pathµ   ó   € ô �D×&Ñ&Ó'Ð'r   c                ó,   • [        U R                  5      $ )z":return: data path shared by users)r   r9   r4   s    r   Úsite_data_pathÚPlatformDirsABC.site_data_pathº   rh   r   c                ó,   • [        U R                  5      $ )z%:return: config path tied to the user)r   r<   r4   s    r   Úuser_config_pathÚ PlatformDirsABC.user_config_path¿   ó   € ô �D×(Ñ(Ó)Ð)r   c                ó,   • [        U R                  5      $ )z(:return: config path shared by the users)r   r?   r4   s    r   Úsite_config_pathÚ PlatformDirsABC.site_config_pathÄ   ro   r   c                ó,   • [        U R                  5      $ )z$:return: cache path tied to the user)r   rB   r4   s    r   Úuser_cache_pathÚPlatformDirsABC.user_cache_pathÉ   ó   € ô �D×'Ñ'Ó(Ð(r   c                ó,   • [        U R                  5      $ )z#:return: cache path shared by users)r   rE   r4   s    r   Úsite_cache_pathÚPlatformDirsABC.site_cache_pathÎ   rv   r   c                ó,   • [        U R                  5      $ )z$:return: state path tied to the user)r   rH   r4   s    r   Úuser_state_pathÚPlatformDirsABC.user_state_pathÓ   rv   r   c                ó,   • [        U R                  5      $ )z":return: log path tied to the user)r   rK   r4   s    r   Úuser_log_pathÚPlatformDirsABC.user_log_pathØ   s   € ô �D×%Ñ%Ó&Ð&r   c                ó,   • [        U R                  5      $ )z*:return: documents a path tied to the user)r   rN   r4   s    r   Úuser_documents_pathÚ#PlatformDirsABC.user_documents_pathÝ   ó   € ô �D×+Ñ+Ó,Ð,r   c                ó,   • [        U R                  5      $ )z(:return: downloads path tied to the user)r   rQ   r4   s    r   Úuser_downloads_pathÚ#PlatformDirsABC.user_downloads_pathâ   rƒ   r   c                ó,   • [        U R                  5      $ )z':return: pictures path tied to the user)r   rT   r4   s    r   Úuser_pictures_pathÚ"PlatformDirsABC.user_pictures_pathç   s   € ô �D×*Ñ*Ó+Ð+r   c                ó,   • [        U R                  5      $ )z%:return: videos path tied to the user)r   rW   r4   s    r   Úuser_videos_pathÚ PlatformDirsABC.user_videos_pathì   ro   r   c                ó,   • [        U R                  5      $ )z$:return: music path tied to the user)r   rZ   r4   s    r   Úuser_music_pathÚPlatformDirsABC.user_music_pathñ   rv   r   c                ó,   • [        U R                  5      $ )z&:return: desktop path tied to the user)r   r]   r4   s    r   Úuser_desktop_pathÚ!PlatformDirsABC.user_desktop_pathö   ó   € ô �D×)Ñ)Ó*Ð*r   c                ó,   • [        U R                  5      $ )z&:return: runtime path tied to the user)r   r`   r4   s    r   Úuser_runtime_pathÚ!PlatformDirsABC.user_runtime_pathû   r“   r   c                ó,   • [        U R                  5      $ )z%:return: runtime path shared by users)r   rc   r4   s    r   Úsite_runtime_pathÚ!PlatformDirsABC.site_runtime_path   r“   r   c              #  óD   #   • U R                   v •  U R                  v •  g7f)z4:yield: all user and site configuration directories.N)r<   r?   r4   s    r   Úiter_config_dirsÚ PlatformDirsABC.iter_config_dirs  s   é € à×"Ñ"Ò"Ø×"Ñ"Ó"ùó   ‚ c              #  óD   #   • U R                   v •  U R                  v •  g7f)z+:yield: all user and site data directories.N)r5   r9   r4   s    r   Úiter_data_dirsÚPlatformDirsABC.iter_data_dirs
  s   é € à× Ñ Ò Ø× Ñ Ó ùr�   c              #  óD   #   • U R                   v •  U R                  v •  g7f)z,:yield: all user and site cache directories.N)rB   rE   r4   s    r   Úiter_cache_dirsÚPlatformDirsABC.iter_cache_dirs  s   é € à×!Ñ!Ò!Ø×!Ñ!Ó!ùr�   c              #  óD   #   • U R                   v •  U R                  v •  g7f)z.:yield: all user and site runtime directories.N)r`   rc   r4   s    r   Úiter_runtime_dirsÚ!PlatformDirsABC.iter_runtime_dirs  s   é € à×#Ñ#Ò#Ø×#Ñ#Ó#ùr�   c              #  óT   #   • U R                  5        H  n[        U5      v •  M     g7f)z.:yield: all user and site configuration paths.N)r›   r   r*   s     r   Úiter_config_pathsÚ!PlatformDirsABC.iter_config_paths  s"   é € à×)Ñ)Ö+ˆDÜ�t“*Ôò ,ùó   ‚&(c              #  óT   #   • U R                  5        H  n[        U5      v •  M     g7f)z%:yield: all user and site data paths.N)rŸ   r   r*   s     r   Úiter_data_pathsÚPlatformDirsABC.iter_data_paths  s"   é € à×'Ñ'Ö)ˆDÜ�t“*Ôò *ùrª   c              #  óT   #   • U R                  5        H  n[        U5      v •  M     g7f)z&:yield: all user and site cache paths.N)r¢   r   r*   s     r   Úiter_cache_pathsÚ PlatformDirsABC.iter_cache_paths#  s"   é € à×(Ñ(Ö*ˆDÜ�t“*Ôò +ùrª   c              #  óT   #   • U R                  5        H  n[        U5      v •  M     g7f)z(:yield: all user and site runtime paths.N)r¥   r   r*   s     r   Úiter_runtime_pathsÚ"PlatformDirsABC.iter_runtime_paths(  s"   é € à×*Ñ*Ö,ˆDÜ�t“*Ôò -ùrª   )r   r   r   r   r   r   r   )NNNFFTF)r   ú
str | Noner   zstr | Literal[False] | Noner   r´   r   Úboolr   rµ   r   rµ   r   rµ   ÚreturnÚNone)r"   Ústrr¶   r¸   )r   r¸   r¶   r·   )r/   r¸   r¶   r   )r¶   r¸   )r¶   r   )r¶   zIterator[str])r¶   zIterator[Path])4Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r$   r!   r0   Úpropertyr   r5   r9   r<   r?   rB   rE   rH   rK   rN   rQ   rT   rW   rZ   r]   r`   rc   rf   rj   rm   rq   rt   rx   r{   r~   r�   r…   rˆ   r‹   rŽ   r‘   r•   r˜   r›   rŸ   r¢   r¥   r¨   r¬   r¯   r²   Ú__static_attributes__r3   r   r   r   r      s§  † Ù7ð #Ø15Ø"ØØØØ#ð=àð=ð /ð=ð ð	=ð
 ð=ð ð=ð ð=ð ð=ð 
õ=ô~ô:ôð Øó7ó ó ð7ð Øó6ó ó ð6ð Øó9ó ó ð9ð Øó<ó ó ð<ð Øó8ó ó ð8ð Øó7ó ó ð7ð Øó8ó ó ð8ð Øó6ó ó ð6ð Øó<ó ó ð<ð Øó<ó ó ð<ð Øó;ó ó ð;ð Øó9ó ó ð9ð Øó8ó ó ð8ð Øó:ó ó ð:ð Øó:ó ó ð:ð Øó9ó ó ð9ð ó(ó ð(ð ó(ó ð(ð ó*ó ð*ð ó*ó ð*ð ó)ó ð)ð ó)ó ð)ð ó)ó ð)ð ó'ó ð'ð ó-ó ð-ð ó-ó ð-ð ó,ó ð,ð ó*ó ð*ð ó)ó ð)ð ó+ó ð+ð ó+ó ð+ð ó+ó ð+ô#ô
!ô
"ô
$ô
ô
ô
÷
r   r   )r½   Ú
__future__r   r   Úabcr   r   Úpathlibr   Útypingr   Úcollections.abcr   r	   r   r3   r   r   Ú<module>rÅ      s.   ðÙ å "ã 	ß #Ý Ý  æÝ(Ýô\�cõ \r   