Skip to main content

detect_duplication

Function detect_duplication 

Source
pub fn detect_duplication(
    options: &DuplicationOptions,
) -> Result<Value, ProgrammaticError>
Expand description

Run duplication analysis and return the JSON output contract.

This is the first runtime path owned by fallow-api instead of the CLI crate. It intentionally returns the same root JSON shape that embedders already receive from fallow-node.

ยงErrors

Returns a structured programmatic error for invalid options, config load failures, git changed-file failures, or serialization failures.