HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc
a

g��e��@s`dZddlZddlmZddlmZeed�dd�Zdee	ed	�d
d�Z
eeed�dd
�ZdS)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)�List)�appdirs)�appname�returncCstj|dd�S)NF)�	appauthor)�_appdirs�user_cache_dir)r�r	�?/usr/lib/python3.9/site-packages/pip/_internal/utils/appdirs.pyrsrT)r�roamingrcCsHtj|d|d�}tjdkrDtj�|�sDtj�d�}|rDtj�||�}|S)NF)rr�darwinz
~/.config/)r�user_config_dir�system�os�path�isdir�
expanduser�join)rrrr	r	r
r
sr
cCs2tj|ddd�}tjdvr,|�tj�dgS|gS)NFT)rZ	multipath)�win32rz/etc)rZsite_config_dirr�splitr�pathsep)rZdirvalr	r	r
�site_config_dirss
r)T)�__doc__r�typingrZpip._vendorrr�strr�boolr
rr	r	r	r
�<module>s