Implemented interface member:
method
RunAsync
Aspire.Cli.Git.IGitCommandRunner.RunAsync(System.IO.DirectoryInfo, System.String[], Aspire.Cli.Git.GitCommandMode, System.Threading.CancellationToken)
7 references to RunAsync
Aspire.Cli.Tests (7)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (1)
363
git.RunCallback = (command, token) => realGit.
RunAsync
(
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (1)
527
git.RunCallback = (command, token) => realGit.
RunAsync
(
Commands\NewCommandLocalTemplateTests.SourceListGit.cs (3)
297
runner.
RunAsync
(command.WorkingDirectory, command.Arguments, command.Mode, token);
329
var commit = await runner.
RunAsync
(repository, ["rev-parse", source.Ref!], GitCommandMode.Captured, TestContext.Current.CancellationToken);
330
var version = await runner.
RunAsync
(repository, ["rev-parse", $"{source.Ref}:{source.Path}"], GitCommandMode.Captured, TestContext.Current.CancellationToken);
Configuration\ConfigSourceServiceGitTests.cs (2)
571
RunCallback = (command, token) => runner.
RunAsync
(command.WorkingDirectory, command.Arguments, command.Mode, token)
683
RunCallback = (command, cancellationToken) => runner.
RunAsync
(command.WorkingDirectory, command.Arguments, command.Mode, cancellationToken)