IPipelineOutputComparer<TSnapshot> Methods

InterfaceMethods1 member
Compares pipeline output snapshots and reports differences as PipelineOutputChange values.
Compares output captured before and after artifact generation.
public interface IPipelineOutputComparer<TSnapshot>
{
public abstract Task<IReadOnlyList<PipelineOutputChange>> CompareAsync(
TSnapshot before,
TSnapshot after,
CancellationToken cancellationToken)
{
// ...
}
}
beforeTSnapshotThe snapshot captured before generation.
afterTSnapshotThe snapshot captured after generation.
cancellationTokenCancellationTokenThe cancellation token.
Task<IReadOnlyList<PipelineOutputChange>>The changes with output-directory-relative paths. An empty list passes the output check.