
    @[h_                     $    d dl Z d dlZd dlZd ZdS )    Nc                    t          j                    }t          j        |d          }t	          j        |           D ]\  } }}|D ][}t          j                            | |          }t          j                            ||           }|	                    |dz   d           \|D ]X}t          j                            | |          }t          j                            ||           }|
                    ||           Y|S )z0Construct an in-memory zip file for a directory.w/ )ioBytesIOzipfileZipFileoswalkpathjoinrelpathwritestrwrite)rootbufferzip_filedirsfilesr   fs_pathrel_paths           j/var/www/api.easyaligner.net/htdocs/venv_linux/lib/python3.11/site-packages/pip/_vendor/pep517/dirtools.pydir_to_zipfiler      s    Z\\Fvs++HWT]] . .dE 	2 	2Dgll4..Gww55Hhnb1111 	. 	.Dgll4..Gww55HNN7H----	. O    )r   r   r	   r    r   r   <module>r      s9    				 				     r   