Ejemplo n.º 1
0
 public SwitchRepositoryCommand(
     IGitLocalRepositoryService localRepositoryService,
     IWorkspaceService workspaceService)
 {
     _localRepositoryService = localRepositoryService;
     _workspaceService       = workspaceService;
 }
Ejemplo n.º 2
0
        public async Task <GitLocalRepository?> GetLocalGitRepository(
            [Service] IGitLocalRepositoryService gitService,
            [Service] IBoostApplicationContext applicationContext,
            string?id,
            CancellationToken cancellationToken)
        {
            var path = applicationContext.WorkingDirectory.FullName;

            if (id is { })
Ejemplo n.º 3
0
 public IEnumerable <GitLocalRepository> SearchLocalRepositories(
     [Service] IGitLocalRepositoryService gitService,
     SearchLocalRepositoriesInput input)
 {
     return(gitService.Search(input.Term));
 }