o
    Vi                     @  s|   U d Z ddlmZ ddlZddlZddlZddlZddlmZ e	e
Zded< ejdddddZdddZddgZdS )z6Platform compatibility utilities for Python discovery.    )annotationsN)FinalzFinal[logging.Logger]_LOGGER   )maxsizereturnboolc                  C  s`   t jdd} t| j   }W d    n1 sw   Y  td|r+d |S d |S )NTmP)prefixzfilesystem is %scase-sensitive znot )	tempfileNamedTemporaryFilepathlibPathnamelowerexistsr   debug)tmp_fileresult r   L/home/ubuntu/.local/lib/python3.10/site-packages/python_discovery/_compat.pyfs_is_case_sensitive   s   r   pathstrc                 C  s   t  s|  S | S )N)r   casefold)r   r   r   r   
fs_path_id   s   r   )r   r   )r   r   r   r   )__doc__
__future__r   	functoolsloggingr   r   typingr   	getLogger__name__r   __annotations__	lru_cacher   r   __all__r   r   r   r   <module>   s    

