Your IP : 18.227.72.27
B
���a� � @ s d d� Z dS )c C sn ddl }ddl m} |jjj}|j|j|jg|_|j|_ d}x,|�
|�}|| ||�}||krb|jS |}q>W dS )zg
Gets the short path name of a given long path.
http://stackoverflow.com/a/23598461/200291
� N)�wintypes)�ctypesr �windll�kernel32�GetShortPathNameWZLPCWSTRZLPWSTRZDWORD�argtypes�restype�create_unicode_buffer�value)Z long_namer r Z_GetShortPathNameWZoutput_buf_sizeZ
output_buf�needed� r �J/opt/alt/python37/lib/python3.7/site-packages/virtualenv/util/path/_win.py�get_short_path_name s
r N)r r r r r
�<module> �