pub fn scan<W: Write>( opts: &ScanOptions, writer: &mut W, ) -> Result<(), ScanError>
Walk opts.roots and write one NDJSON line per file to writer.
opts.roots
writer