HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc
�

�mi���~�dZddlZddlZddlmZdedefd�Zddededefd	�Z	ddededefd
�Z
dedeefd�ZdS)
z�
This code wraps the vendored appdirs module to so the return values are
compatible for the current pip code base.

The intention is to rewrite current usages gradually, keeping the tests pass,
and eventually drop this after all usages are changed.
�N)�platformdirs�appname�returnc�.�tj|d���S)NF)�	appauthor)�_appdirs�user_cache_dir)rs �=D:\Python311\Lib\site-packages\pip/_internal/utils/appdirs.pyr	r	s���"�7�e�<�<�<�<�T�roamingc��tj|d|���}tj�|��r|Sd}|r tj�||��}tj�|��S)NF�rrz
~/.config/)r�
user_data_dir�os�path�isdir�join�
expanduser)rrr�linux_like_paths    r
�_macos_user_config_dirrso���!�'�U�G�L�L�L�D�	�w�}�}�T������#�O��A��'�,�,���@�@��
�7���o�.�.�.rc�p�tjdkrt||��Stj|d|���S)N�darwinFr)�sys�platformrr�user_config_dir)rrs  r
rr!s9��
�|�x��8�%�g�w�7�7�7��#�G�u�g�N�N�N�Nrc�(�tjdkr6tj|dd���}|�t
j��Stj|dd���}tjdkr|gS|�t
j��dgzS)NrFT)r�	multipath�win32z/etc)rrr�
site_data_dir�splitr�pathsep�site_config_dir)r�dirvals  r
�site_config_dirsr$*s���
�|�x��(��'��5�D�Q�Q�Q���|�|�B�J�'�'�'�
�
%�g��$�
O�
O�
O�F�
�|�w����x���<�<��
�#�#�v�h�.�.r)T)
�__doc__rr�pip._vendorrr�strr	�boolrr�listr$�rr
�<module>r+s�����
�	�	�	�
�
�
�
�0�0�0�0�0�0�=�C�=�C�=�=�=�=�/�/�C�/�$�/�#�/�/�/�/�O�O�S�O�4�O�3�O�O�O�O�
/�c�
/�d�3�i�
/�
/�
/�
/�
/�
/r