Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/virtualenv/util/path/__pycache__/ |
Upload File : |
o $�"b� � @ s d d� Z dS )c C sh ddl }ddl m} |jjj}|j|j|jg|_|j|_ d} |� |�}|| ||�}||kr1|jS |}q)zg Gets the short path name of a given long path. http://stackoverflow.com/a/23598461/200291 � N)�wintypes)�ctypesr �windll�kernel32�GetShortPathNameW�LPCWSTR�LPWSTR�DWORD�argtypes�restype�create_unicode_buffer�value)� long_namer r �_GetShortPathNameW�output_buf_size� output_buf�needed� r �;/usr/lib/python3/dist-packages/virtualenv/util/path/_win.py�get_short_path_name s �r N)r r r r r �<module> s