Implemented interface member:
method
ResolveReferenceAsync
Aspire.Cli.Git.IGitClient.ResolveReferenceAsync(System.String, System.String, System.IO.DirectoryInfo, Aspire.Cli.Git.GitCommandMode, System.Threading.CancellationToken)
5 references to ResolveReferenceAsync
Aspire.Cli.Tests (5)
Git\GitClientTests.cs (5)
31
var resolved = await client.
ResolveReferenceAsync
("-repository with spaces", reference, workspace.WorkspaceRoot, GitCommandMode.Captured, TestContext.Current.CancellationToken);
55
await client.
ResolveReferenceAsync
("repository", "same", workspace.WorkspaceRoot, GitCommandMode.Captured, TestContext.Current.CancellationToken));
70
var resolved = await client.
ResolveReferenceAsync
("repository", "refs/heads/main", workspace.WorkspaceRoot,
88
client.
ResolveReferenceAsync
("repository", "missing", workspace.WorkspaceRoot, GitCommandMode.Captured, TestContext.Current.CancellationToken));
102
var resolved = await client.
ResolveReferenceAsync
("repository", new string('A', length), workspace.WorkspaceRoot, GitCommandMode.Captured, TestContext.Current.CancellationToken);