6 references to CapturePathsAsync
Aspire.Hosting (2)
Pipelines\PipelineOutputSnapshotter.cs (2)
47
return await
CapturePathsAsync
(GetFilesystemFiles(directory, matcher, cancellationToken), cancellationToken).ConfigureAwait(false);
55
return await
CapturePathsAsync
(entries.Select(entry => entry.File), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (4)
Pipelines\PipelineOutputSnapshotterTests.cs (4)
133
var firstCapture = snapshotter.
CapturePathsAsync
([new(first), new(first)], cts.Token);
134
var secondCapture = snapshotter.
CapturePathsAsync
([new(second), new(second)], cts.Token);
197
var failure = await Record.ExceptionAsync(() => snapshotter.
CapturePathsAsync
([new(first), new(second)], cts.Token));
225
await Assert.ThrowsAsync<FileNotFoundException>(() => new PipelineOutputSnapshotter().
CapturePathsAsync
(