§
    0›ji  ã                  óh   — d Z ddlmZ ddlmZ ddlmZ erddlmZ  G d„ d¦  «        Z	dd„Z
dd„ZdS )z8Simple value objects for tracking what to do with files.é    )Úannotations)ÚTYPE_CHECKING)ÚTFileDisposition)Ú
FileTracerc                  ób   — e Zd ZU dZded<   ded<   ded<   ded<   ded	<   d
ed<   ded<   dd„ZdS )ÚFileDispositionz9A simple value type for recording what to do with a file.ÚstrÚoriginal_filenameÚcanonical_filenamez
str | NoneÚsource_filenameÚboolÚtraceÚreasonzFileTracer | NoneÚfile_tracerÚhas_dynamic_filenameÚreturnc                ó(   — d| j         ›d| j        › d�S )Nz<FileDisposition z: trace=ú>)r   r   )Úselfs    úS/home/lighthouse/health/venv/lib64/python3.11/site-packages/coverage/disposition.pyÚ__repr__zFileDisposition.__repr__   s    € ØS 4Ô#:ÐSÐSÀdÄjÐSÐSÐSÐSó    N)r   r	   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   © r   r   r   r      s„   € € € € € € ØCÐCàÐÐÑØÐÐÑØÐÐÑØ€K€K�KØ€K€K�KØ"Ð"Ð"Ñ"ØÐÐÑðTð Tð Tð Tð Tð Tr   r   Úclsútype[TFileDisposition]r
   r	   r   r   c                ó|   —  | ¦   «         }||_         ||_        d|_        d|_        d|_        d|_        d|_        |S )z6Construct and initialize a new FileDisposition object.NFÚ )r
   r   r   r   r   r   r   )r   r
   Údisps      r   Údisposition_initr$   $   sH   € àˆ3‰5Œ5€DØ.€DÔØ/€DÔØ€DÔØ€D„JØ€D„KØ€DÔØ %€DÔØ€Kr   r#   c                ó°   — | j         r<d| j        ›�}| j        | j        k    r|d| j        ›�z  }| j        r|d| j        ›�z  }nd| j        ›d| j        › �}|S )z?Make a nice debug message of what the FileDisposition is doing.zTracing z as z: will be traced by zNot tracing z: )r   r
   r   r   r   )r#   Úmsgs     r   Údisposition_debug_msgr'   1   s…   € à„zð GØ3˜Ô/Ð3Ð3ˆØÔ! TÔ%9Ò9Ð9ØÐ2˜$Ô.Ð2Ð2Ñ2ˆCØÔð 	?ØÐ>¨$Ô*:Ð>Ð>Ñ>ˆCøàF˜TÔ3ÐFÐF¸¼ÐFÐFˆØ€Jr   N)r   r    r
   r	   r   r   )r#   r   r   r	   )r   Ú
__future__r   Útypingr   Úcoverage.typesr   Úcoverage.pluginr   r   r$   r'   r   r   r   ú<module>r,      s¿   ðð ?Ð >à "Ð "Ð "Ð "Ð "Ð "à  Ð  Ð  Ð  Ð  Ð  à +Ð +Ð +Ð +Ð +Ð +àð +Ø*Ð*Ð*Ð*Ð*Ð*ðTð Tð Tð Tð Tñ Tô Tð Tð(
ð 
ð 
ð 
ð
ð 
ð 
ð 
ð 
ð 
r   