3 instantiations of GitHubTextDownload
AnalyzeCiFailure (3)
tools\Aspire.TestTools\GitHubApiClient.cs (2)
187return new GitHubTextDownload(Encoding.UTF8.GetString(output.GetBuffer(), index: 0, (int)output.Length), Error: null); 193return new GitHubTextDownload(Encoding.UTF8.GetString(output.GetBuffer(), index: 0, (int)output.Length), error.Message);
WorkflowRunEvidenceCollector.cs (1)
433logResult = new GitHubTextDownload("", error.Message);
9 references to GitHubTextDownload
AnalyzeCiFailure (3)
Infrastructure\AnalysisGitHubClient.cs (1)
65internal Task<GitHubTextDownload> DownloadTextAsync(string endpoint, long maximumBytes)
tools\Aspire.TestTools\GitHubApiClient.cs (1)
175public async Task<GitHubTextDownload> DownloadTextAsync(string endpoint, long maximumBytes, CancellationToken cancellationToken)
WorkflowRunEvidenceCollector.cs (1)
426GitHubTextDownload logResult;
AnalyzeCiFailure.Tests (6)
GitHubApiClientTests.cs (6)
597var result = await client.DownloadTextAsync("logs", maximumBytes: 100, default); 617var result = await client.DownloadTextAsync("repos/a/b/logs?token=secret", maximumBytes: 100, default); 638var result = await client.DownloadTextAsync("logs", maximumBytes: 100, default); 657var result = await client.DownloadTextAsync("logs", maximumBytes: 100, default); 704var result = await client.DownloadTextAsync("logs", maximumBytes: 100, default); 718var result = await client.DownloadTextAsync("logs", maximumBytes: 5, default);