https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/lib/python3/dist-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python3/dist-packages/pip/_internal/utils/__pycache__/appdirs.cpython-310.pyc
o

!��h��@s�dZddlZddlZddlmZddlmZdedefdd�Z	dded
e
defdd�Zdded
e
defd
d�Zdedeefdd�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/dist-packages/pip/_internal/utils/appdirs.pyrsrT�roamingcCsBtj|d|d�}tj�|�r|Sd}|rtj�||�}tj�|�S)NF�rrz
~/.config/)r�
user_data_dir�os�path�isdir�join�
expanduser)rrr�linux_like_pathr	r	r
�_macos_user_config_dirsrcCs$tjdkr
t||�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)r�	multipath�win32z/etc)rrr�
site_data_dir�site_config_dir�splitr�pathsep)r�dirvalr	r	r
�site_config_dirs+s

r )T)�__doc__rr�typingr�pip._vendorrr�strr�boolrrr r	r	r	r
�<module>s	

https://t.me/RX1948 - 2025