File: //usr/local/lib/python3.10/dist-packages/virtualenv/discovery/__pycache__/info.cpython-310.pyc
o
3�hN � @ s^ d dl mZ d dlZd dlZd dlZd dlZdae�e�Z ej
dkZdd� Zdd d
�Z
dZdS )
� )�annotationsN�win32c C sb t du r/tjdd��} tj�| j�� � a t� dt rdnd� W d � t S 1 s*w Y t S )z+Check if the file system is case-sensitive.N�TmP)�prefixzfilesystem is %scase-sensitive� znot )
�_FS_CASE_SENSITIVE�tempfile�NamedTemporaryFile�os�path�exists�name�lower�LOGGER�debug)�tmp_file� r �D/usr/local/lib/python3.10/dist-packages/virtualenv/discovery/info.py�fs_is_case_sensitive
s
��r r �str�returnc C s t � r| �� S | S )z&Get a case-normalized path identifier.)r �casefold)r r r r �
fs_path_id s r )�IS_WINr r )r r r r )�
__future__r �loggingr
�sysr r � getLogger�__name__r �platformr r r �__all__r r r r �<module> s