def cache_segments(*caches):
from ..segments import SegmentList<EOL>out = SegmentList()<EOL>for cache in caches:<EOL><INDENT>out.extend(file_segment(e) for e in cache)<EOL><DEDENT>return out.coalesce()<EOL>
Returns the segments of data covered by entries in the cache(s).

    Parameters
    ----------
    *caches : `list`
        One or more lists of file paths
        (`str` or :class:`~lal.utils.CacheEntry`).

    Returns
    -------
    segments : `~gwpy.segments.SegmentList`
        A list of segments for when data should be available