HEX
Server: Apache
System: Linux a16-asgard6.hospedagemuolhost.com.br 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: maoristu4c3dbd03 (1436)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc
a

[��f��@s|dZddlZddlZddlmZddlmZeed�dd�Z	dee
ed	�d
d�Zdee
ed	�dd
�Zeeed�dd�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)�List)�platformdirs)�appname�returncCstj|dd�S)NF)�	appauthor)�_appdirs�user_cache_dir)r�r	�?/usr/lib/python3.9/site-packages/pip/_internal/utils/appdirs.pyrsrT)r�roamingrcCsBtj|d|d�}tj�|�r |Sd}|r6tj�||�}tj�|�S)NF�rrz
~/.config/)rZ
user_data_dir�os�path�isdir�join�
expanduser)rrrZlinux_like_pathr	r	r
�_macos_user_config_dirsrcCs$tjdkrt||�Stj|d|d�S)N�darwinFr)�sys�platformrr�user_config_dir)rrr	r	r
r"s

rcCsNtjdkrtj|ddd�gStj|ddd�}tjdkr<|gS|�tj�dgS)NrFT)rZ	multipath�win32z/etc)rrrZ
site_data_dirZsite_config_dir�splitr
�pathsep)rZdirvalr	r	r
�site_config_dirs+s

r)T)T)�__doc__r
r�typingrZpip._vendorrr�strr�boolrrrr	r	r	r
�<module>s