def fill_metadata(jobs, entry, mtable):
    """Fill the metadata table with the info on the downloaded files.

    Parameters
    ----------
    jobs: List[DownloadJob]
        List of all different file format download jobs for an entry
    entry:
        An assembly entry describing the current download jobs
    mtable:
        Metadata table object to write into

    Returns
    -------
    None
    """
    for job in jobs:
        if job.full_url is not None:
            mtable.add(entry, job.local_file)
