prospector/git/git.py
def clone_repo_multiple(
    url_list,
    output_folder,
    proxy="",
    shallow=False,
    skip_existing=False,
    concurrent=multiprocessing.cpu_count(),
):
    """
    This is the parallelized version of clone_repo (works with a list of repositories).
    """
    _logger.info(f"Using {concurrent} parallel workers")
    with multiprocessing.Pool(concurrent) as pool:
        args = ((url, output_folder, proxy, shallow, skip_existing) for url in url_list)
        results = pool.starmap(do_clone, args)

    return results

    This is the parallelized version of clone_repo (works with a list of repositories).
    
This is the parallelized version of clone_repo (works with a list of repositories).
This is the parallelized version of clone_repo ( works with a list of repositories ) .
def clone_repo_multiple(
    url_list,
    output_folder,
    proxy="",
    shallow=False,
    skip_existing=False,
    concurrent=multiprocessing.cpu_count(),
):
    _logger.info(f"Using {concurrent} parallel workers")
    with multiprocessing.Pool(concurrent) as pool:
        args = ((url, output_folder, proxy, shallow, skip_existing) for url in url_list)
        results = pool.starmap(do_clone, args)
    return results
def clone_repo_multiple ( url_list , output_folder , proxy = "" , shallow = False , skip_existing = False , concurrent = multiprocessing . cpu_count ( ) , ) : _logger . info ( f"Using {concurrent} parallel workers" ) with multiprocessing . Pool ( concurrent ) as pool : args = ( ( url , output_folder , proxy , shallow , skip_existing ) for url in url_list ) results = pool . starmap ( do_clone , args ) return results
This is the parallelized version of clone_repo (works with a list of repositories).
This is the parallelized version of clone_repo ( works with a list of repositories ) .
"""
    This is the parallelized version of clone_repo (works with a list of repositories).
    """
url_list
output_folder
proxy
shallow
skip_existing
concurrent