rainbow.debug.inspect

inspect(path)[source]

Decodes every recognized metadata sidecar under path into its full structure.

Parameters:

path (str) – Path of a run directory (or a single sidecar file).

Returns:

Dict {relpath: parsed} where parsed is the parser’s faithful, lossless structure. A file that fails to parse maps to {'parser': ..., 'error': ...} rather than being dropped.