§
    AxÅj  ã                   ó0   — d Z ddlZddlZg d¢Zd„ Zdd„ZdS )zE Reads the .runpodignore file and returns a list of files to ignore. é    N)z__pycache__/z*.pycz.*.swpz.git/z*.tmpz*.logc                  ó¼  — t                                ¦   «         } t          j                             t          j        ¦   «         d¦  «        }t          j                             |¦  «        s| S t          |dd¬¦  «        5 }|D ]B}|                     ¦   «         }|r*| 	                    d¦  «        s|  
                    |¦  «         ŒC	 ddd¦  «         n# 1 swxY w Y   | S )zCReads the .runpodignore file and returns a list of files to ignore.z.runpodignoreÚrzUTF-8)Úencodingú#N)ÚEXCLUDE_PATTERNSÚcopyÚosÚpathÚjoinÚgetcwdÚisfileÚopenÚstripÚ
startswithÚappend)Úignore_listÚignore_fileÚignore_file_handleÚlineÚstripped_lines        úQC:\Projects\Historical\venv\Lib\site-packages\runpod/cli/utils/rp_runpodignore.pyÚget_ignore_listr      s  € å"×'Ò'Ñ)Ô)€KÝ”'—,’,�rœy™{œ{¨OÑ<Ô<€KåŒ7�>Š>˜+Ñ&Ô&ð ØÐå	ˆk˜3¨Ð	1Ñ	1Ô	1ð 2Ð5GØ&ð 	2ð 	2ˆDØ ŸJšJ™LœLˆMØð 2 ]×%=Ò%=¸cÑ%BÔ%Bð 2Ø×"Ò" =Ñ1Ô1Ð1øð	2ð2ð 2ð 2ñ 2ô 2ð 2ð 2ð 2ð 2ð 2ð 2øøøð 2ð 2ð 2ð 2ð Ðs   Á>ACÃCÃCc                 ó4  — |€t          ¦   «         }t          j                             | t          j        ¦   «         ¦  «        }|D ]S}|                     d¦  «        r
|dd…         }|                     d¦  «        r|dz  }t          j        ||¦  «        r dS ŒTdS )z<Returns True if the file should be ignored, False otherwise.Nú/é   Ú*TF)r   r	   r
   Úrelpathr   r   ÚendswithÚfnmatch)Ú	file_pathr   Úrelative_pathÚpatterns       r   Úshould_ignorer#   !   s¦   € àÐÝ%Ñ'Ô'ˆå”G—O’O I­r¬y©{¬{Ñ;Ô;€Màð ð ˆØ×Ò˜cÑ"Ô"ð 	"Ø˜a˜b˜b”kˆGà×Ò˜CÑ Ô ð 	Ø�s‰NˆGåŒ?˜=¨'Ñ2Ô2ð 	Ø�4�4ð	ð ˆ5ó    )N)Ú__doc__r   r	   r   r   r#   © r$   r   ú<module>r'      s\   ðØ KÐ Kà €€€Ø 	€	€	€	ðð ð Ð ðð ð ð"ð ð ð ð ð r$   