o
    Uh7                     @   sJ   d Z ddlmZ ddlmZ ddlmZ dedeee	ef  fdd	Z
d
S )zWorking with Git submodules.    )Iterator   )iter_tree_contents)S_ISGITLINKroot_tree_idreturnc                 c   s.    t | |D ]}t|jr|j|jfV  qdS )zIterate over cached submodules.

    Args:
      store: Object store to iterate
      root_tree_id: SHA of root tree

    Returns:
      Iterator over over (path, sha) tuples
    N)r   r   modepathsha)storer   entry r   e/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/dulwich/submodule.pyiter_cached_submodules   s   

r   N)__doc__collections.abcr   object_storer   objectsr   bytestuplestrr   r   r   r   r   <module>   s
   "