namespace StellaOps.Scanner.ChangeTrace.Builder;
///
/// Builder interface for constructing change traces.
///
public interface IChangeTraceBuilder
{
///
/// Build change trace from two scan comparisons.
///
/// Scan ID of the "before" state.
/// Scan ID of the "after" state.
/// Builder options for configuring the trace.
/// Cancellation token.
/// Constructed change trace.
Task FromScanComparisonAsync(
string fromScanId,
string toScanId,
ChangeTraceBuilderOptions? options = null,
CancellationToken ct = default);
///
/// Build change trace from two binary files.
///
/// Path to the "before" binary.
/// Path to the "after" binary.
/// Builder options for configuring the trace.
/// Cancellation token.
/// Constructed change trace.
Task FromBinaryComparisonAsync(
string fromBinaryPath,
string toBinaryPath,
ChangeTraceBuilderOptions? options = null,
CancellationToken ct = default);
}