OwlCyberSecurity - MANAGER
Edit File: _win.cpython-312.pyc
� ^��g# � � � d dl mZ d� ZdgZy)� )�annotationsc �, � ddl }ddl m} |j j j }|j |j |j g|_ |j |_ d} |j |� } || ||� }||k\ r|j S |}�/)z[Gets the short path name of a given long path - http://stackoverflow.com/a/23598461/200291.r N)�wintypes)�ctypesr �windll�kernel32�GetShortPathNameW�LPCWSTR�LPWSTR�DWORD�argtypes�restype�create_unicode_buffer�value)� long_namer r r �output_buf_size� output_buf�neededs �H/opt/hc_python/lib/python3.12/site-packages/virtualenv/util/path/_win.py�get_short_path_namer s� � ���� � �.�.�@�@��"*�"2�"2�H�O�O�X�^�^�!T��� (������O� ��1�1�/�B� �"�9�j�/�J���f�$��#�#�#� �� � r N)� __future__r r �__all__� r r �<module>r s �� "�!�$ ��r