14 references to Unattended
aspire (2)
Configuration\ConfigSourceService.cs (2)
634var mode = allowInteractive ? GitCommandMode.Interactive : GitCommandMode.Unattended; 654allowInteractive ? GitCommandMode.Interactive : GitCommandMode.Unattended, cancellationToken);
Aspire.Cli.Tests (12)
Configuration\ConfigSourceServiceGitTests.cs (4)
226startInfo, captureTimeoutOutput, GitCommandMode.Unattended, cancellation.Token); 289var startInfo = client.CreateStartInfo(workspace.Path, ["fetch"], GitCommandMode.Unattended); 719: [GitCommandMode.Interactive, GitCommandMode.Unattended, GitCommandMode.Interactive, GitCommandMode.Unattended];
Git\GitClientTests.cs (3)
61[InlineData(nameof(GitCommandMode.Unattended), 64)] 118await client.FetchAsync(repository, "repository with spaces", "refs/heads/main", GitCommandMode.Unattended, token); 132Assert.Equal(GitCommandMode.Unattended, command.Mode);
Git\GitCommandRunnerTests.cs (4)
69[InlineData(nameof(GitCommandMode.Unattended))] 93[InlineData(nameof(GitCommandMode.Unattended), false)] 94[InlineData(nameof(GitCommandMode.Unattended), true)] 160[InlineData(nameof(GitCommandMode.Unattended), nameof(GitFailure.CommandFailed))]
TestServices\TestConfigSourceServices.cs (1)
124if (state.Mode == GitCommandMode.Unattended)