scan_patches

function of dascore.io.core source

scan_patches(
    patches: Patch | Sequence[Patch] ,
)-> list[PatchFileSummary]

Scan a sequence of patches and return a list of summaries.

The summary dicts have the following fields: file_version: str file_format: str path: typing.Union[str, pathlib.Path]

Parameters

Parameter Description
patches A single patch or a sequence of patches.