1 instantiation of IndexEntry
Aspire.Hosting (1)
Pipelines\GitPipelineOutputReader.cs (1)
383return new(mode.ToString(), hash, stage[0], tag[0], path.ToString());
11 references to IndexEntry
Aspire.Hosting (7)
Pipelines\GitPipelineOutputReader.cs (7)
97index.TryGetValue(file.FullName, out var indexed); 119private async Task<Dictionary<string, IndexEntry?>> ReadIndexAsync(string scope, CancellationToken cancellationToken) 127var index = new Dictionary<string, IndexEntry?>(PipelineOutputRoot.PathComparer); 132var entry = IndexEntry.Parse(records[range]); 341internal sealed record SelectedFile(FileInfo File, IndexEntry? Index); 355internal static IndexEntry Parse(ReadOnlySpan<char> record)
Aspire.Hosting.Tests (4)
Pipelines\PipelineOutputStrategyTests.cs (4)
339var indexFailure = Assert.Throws<DistributedApplicationException>(() => GitPipelineOutputReader.IndexEntry.Parse(index)); 362var entry = GitPipelineOutputReader.IndexEntry.Parse(record); 386var failure = Assert.Throws<DistributedApplicationException>(() => GitPipelineOutputReader.IndexEntry.Parse(record));