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