(
    archive: tarfile.TarFile, layers_info: Iterable[Dict]
)
Extracts File objects to be scanned for given layers.
Extracts File objects to be scanned for given layers.
Extracts File objects to be scanned for given layers .
def _get_layers_files(
    archive: tarfile.TarFile, layers_info: Iterable[Dict]
) -> Iterable[File]:
    """
    Extracts File objects to be scanned for given layers.
    """
    for layer_info in layers_info:
        yield from _get_layer_files(archive, layer_info)
def _get_layers_files ( archive : tarfile . TarFile , layers_info : Iterable [ Dict ] ) -> Iterable [ File ] : for layer_info in layers_info : yield from _get_layer_files ( archive , layer_info )