pub fn detect(files: &[InputFile<'_>], config: &EngineConfig) -> EngineReportExpand description
Detect clones across files.
The result is a pure function of the input: file order only affects the
file indices inside instances, and every collection in the report is
deterministically sorted.