o
    UÌh#  ã                   @  s   d dl mZ dd„ ZdgZdS )é    )Úannotationsc                 C  sh   ddl }ddl m} |jjj}|j|j|jg|_|j|_	d}	 | 
|¡}|| ||ƒ}||kr1|jS |}q)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Úneeded© r   úm/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/virtualenv/util/path/_win.pyÚget_short_path_name   s   

ûr   N)Ú
__future__r   r   Ú__all__r   r   r   r   Ú<module>   s    ÿ