2 implementations of GetRootAsync
aspire (1)
Git\GitRepository.cs (1)
21
public async Task<DirectoryInfo?>
GetRootAsync
(CancellationToken cancellationToken)
Aspire.Cli.Tests (1)
TestServices\TestGitRepository.cs (1)
14
public Task<DirectoryInfo?>
GetRootAsync
(CancellationToken cancellationToken)
3 references to GetRootAsync
aspire (3)
Commands\AgentInitCommand.cs (1)
299
var gitRoot = await _gitRepository.
GetRootAsync
(cancellationToken);
Git\IGitRepository.cs (1)
33
/// Unlike <see cref="
GetRootAsync
(CancellationToken)"/>, this method takes an explicit
Utils\EnvironmentChecker\AspireSkillsCheck.cs (1)
28
var workspaceRoot = await gitRepository.
GetRootAsync
(cancellationToken) ?? workingDirectory;