HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc
a

�lj��@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