27 references to Git
Aspire.Hosting (3)
Pipelines\DefaultPipelineOutputSnapshotter.cs (2)
57
var git = _mode is PipelineOutputDiffMode.Auto or PipelineOutputDiffMode.
Git
60
if (git is null && _mode is PipelineOutputDiffMode.
Git
)
Pipelines\PipelineOutputDiffMode.cs (1)
15
/// Uses <see cref="
Git
"/> when the executable and a usable worktree are available; otherwise uses <see cref="FileSystem"/>.
Aspire.Hosting.Tests (24)
Pipelines\PipelineOutputDiffingTests.cs (3)
561
[InlineData(PipelineOutputDiffMode.
Git
)]
585
if (mode is PipelineOutputDiffMode.Auto or PipelineOutputDiffMode.
Git
)
942
options.Mode = requireGit ? PipelineOutputDiffMode.
Git
: PipelineOutputDiffMode.FileSystem;
Pipelines\PipelineOutputGitFingerprintTests.cs (1)
41
var nativeSnapshotter = new DefaultPipelineOutputSnapshotter(new(), new DefaultProcessRunner(), Options.Create(new PipelineOutputDiffOptions { Mode = useGit ? PipelineOutputDiffMode.
Git
: PipelineOutputDiffMode.FileSystem }));
Pipelines\PipelineOutputResolutionTests.cs (1)
108
[InlineData(true, PipelineOutputDiffMode.
Git
)]
Pipelines\PipelineOutputSelectionTests.cs (11)
20
[InlineData(PipelineOutputDiffMode.
Git
)]
53
[InlineData(false, PipelineOutputDiffMode.
Git
)]
55
[InlineData(true, PipelineOutputDiffMode.
Git
)]
96
[InlineData(PipelineOutputDiffMode.
Git
, false)]
97
[InlineData(PipelineOutputDiffMode.
Git
, true)]
118
[InlineData(PipelineOutputDiffMode.
Git
)]
134
[InlineData(PipelineOutputDiffMode.
Git
)]
174
var options = new PipelineOutputDiffOptions { Mode = useGit ? PipelineOutputDiffMode.
Git
: PipelineOutputDiffMode.FileSystem };
284
options.Mode = PipelineOutputDiffMode.
Git
;
319
[InlineData(PipelineOutputDiffMode.
Git
)]
346
if (mode is PipelineOutputDiffMode.
Git
)
Pipelines\PipelineOutputStrategyTests.cs (8)
76
var options = new PipelineOutputDiffOptions { Mode = PipelineOutputDiffMode.
Git
};
108
[InlineData(PipelineOutputDiffMode.
Git
)]
125
[InlineData(PipelineOutputDiffMode.
Git
)]
132
? mode is PipelineOutputDiffMode.
Git
? new(0, "true\n\n", "") : new(128, "", "unavailable")
619
[InlineData(false, false, PipelineOutputDiffMode.
Git
)]
620
[InlineData(true, false, PipelineOutputDiffMode.
Git
)]
621
[InlineData(false, true, PipelineOutputDiffMode.
Git
)]
622
[InlineData(true, true, PipelineOutputDiffMode.
Git
)]