Agentfs Diff
Diff Engine
DiffEngine::new() uses its default concurrency; with_parallel explicitly bounds the comparison work.
Workflow and current contract
DiffEngine::new() uses its default concurrency; with_parallel explicitly bounds the comparison work. DiffOptions controls comparison mode, content/metadata comparison, ignored paths, unchanged entries, and cancellation.
Inspect the declared ComparisonMode and DiffKind variants. Honor the cancellation flag and surface comparison failures before deciding to synchronize. A diff engine is not a policy decision about which side wins a conflict.
Source reference
enginedeclarations —local/agentfs-diff/src/engine.rs.diffdeclarations —local/agentfs-diff/src/diff.rs.