feat(git-provider): Initial Get-GitRepo implementation

This commit is contained in:
Scott 2026-08-23 09:25:45 +10:00
commit af5c9e43b6
2 changed files with 30 additions and 0 deletions

View file

@ -52,4 +52,15 @@ public class GitManager
throw new Exception($"Git repo already registered with the name {registrationName}");
}
public List<GitReg> ListRepos()
{
return _registrations.Select(x => new GitReg() { Name = x.Value.Name, Location = x.Value.Location }).ToList();
}
}
public class GitReg
{
public required string Name { get; set; }
public required string Location { get; set; }
}