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