Skip to main content

detect

Function detect 

Source
pub fn detect(files: &[InputFile<'_>], config: &EngineConfig) -> EngineReport
Expand 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.