public SwitchRepositoryCommand( IGitLocalRepositoryService localRepositoryService, IWorkspaceService workspaceService) { _localRepositoryService = localRepositoryService; _workspaceService = workspaceService; }
public async Task <GitLocalRepository?> GetLocalGitRepository( [Service] IGitLocalRepositoryService gitService, [Service] IBoostApplicationContext applicationContext, string?id, CancellationToken cancellationToken) { var path = applicationContext.WorkingDirectory.FullName; if (id is { })
public IEnumerable <GitLocalRepository> SearchLocalRepositories( [Service] IGitLocalRepositoryService gitService, SearchLocalRepositoriesInput input) { return(gitService.Search(input.Term)); }