+
     h  c                   sj    R t ^ RIt^ RIt^ RIHt ^ RIHt R R ltRR R llt	RR R	 llt
R
 R ltR# )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)platformdirsc                s0    V ^8  d   QhR\         R\         /#    appnamereturn)strZformat   "@/usr/lib/python3.14/site-packages/pip/_internal/utils/appdirs.py__annotate__r
      s     = =C =C =    c                 s2    \         P                  ! V R R7      # )F)	appauthor)_appdirsuser_cache_dir)r   s   &r	   r   r      s    ""7e<<r   c                <    V ^8  d   QhR\         R\        R\         /# r   r   roamingr   r   Zboolr   r   r	   r
   r
      s!     / /C /$ /# /r   c                 s   \         P                  ! V R VR7      p\        P                  P	                  V4      '       d   V# RpV '       d    \        P                  P                  W04      p\        P                  P                  V4      # )Fr   r   z
~/.config/)r   Zuser_data_dirospathZisdirZjoinZ
expanduser)r   r   r   Zlinux_like_paths   &&  r	   _macos_user_config_dirr      s_    !!'UGLD	ww}}T #O'',,@77o..r   c                r   r   r   r   r   r	   r
   r
   "   s&     O OS O4 O3 Or   c                 st    \         P                  R 8X  d   \        W4      # \        P                  ! V RVR7      # )darwinFr   )sysplatformr   r   user_config_dir)r   r   s   &&r	   r   r   "   s.    
||x%g77##GugNNr   c                sF    V ^8  d   QhR\         R\        \         ,          /# r   )r   r    r   r   r	   r
   r
   +   s     
/ 
/c 
/d3i 
/r   c                 sL   \         P                  R 8X  d9   \        P                  ! V RRR7      pVP	                  \
        P                  4      # \        P                  ! V RRR7      p\         P                  R8X  d   V.# VP	                  \
        P                  4      R.,           # )r   FT)r   Z	multipathZwin32z/etc)r   r   r   Zsite_data_dirZsplitr   ZpathsepZsite_config_dir)r   Zdirvals   & r	   site_config_dirsr   +   sx    
||x''5DQ||BJJ''%%g$OF
||wx <<

#vh..r   )T)Z__doc__r   r   Ztypingr    Zpip._vendorr   r   r   r   r   r   ) r   r	   <module>r      s-    
 
  0=/O
/r   