()
| 4245 | } |
| 4246 | |
| 4247 | export const registerGitServiceAPI = () => { |
| 4248 | ipcMainHandle('git.loadGitRepository', (_, options: Parameters<typeof loadGitRepository>[0]) => |
| 4249 | loadGitRepository(options), |
| 4250 | ); |
| 4251 | ipcMainHandle('git.getGitBranches', (_, options: Parameters<typeof getGitBranches>[0]) => getGitBranches(options)); |
| 4252 | ipcMainHandle('git.fetchGitRemoteBranches', (_, options: Parameters<typeof fetchGitRemoteBranches>[0]) => |
| 4253 | fetchGitRemoteBranches(options), |
| 4254 | ); |
| 4255 | ipcMainHandle( |
| 4256 | 'git.validateGitRepositoryCredentials', |
| 4257 | (_, options: Parameters<typeof validateGitRepositoryCredentials>[0]) => validateGitRepositoryCredentials(options), |
| 4258 | ); |
| 4259 | ipcMainHandle('git.validateGitCredentialById', (_, options: Parameters<typeof validateGitCredentialById>[0]) => |
| 4260 | validateGitCredentialById(options), |
| 4261 | ); |
| 4262 | ipcMainHandle('git.getProjectGitFileIssues', (_, options: Parameters<typeof getProjectGitFileIssues>[0]) => |
| 4263 | getProjectGitFileIssues(options), |
| 4264 | ); |
| 4265 | ipcMainHandle('git.getProjectRulesetImportIssue', (_, options: Parameters<typeof getProjectRulesetImportIssue>[0]) => |
| 4266 | getProjectRulesetImportIssue(options), |
| 4267 | ); |
| 4268 | ipcMainHandle('git.gitFetchAction', (_, options: Parameters<typeof gitFetchAction>[0]) => gitFetchAction(options)); |
| 4269 | ipcMainHandle('git.gitLogLoader', (_, options: Parameters<typeof gitLogLoader>[0]) => gitLogLoader(options)); |
| 4270 | ipcMainHandle('git.gitChangesLoader', (_, options: Parameters<typeof gitChangesLoader>[0]) => |
| 4271 | gitChangesLoader(options), |
| 4272 | ); |
| 4273 | ipcMainHandle('git.canPushLoader', (_, options: Parameters<typeof canPushLoader>[0]) => canPushLoader(options)); |
| 4274 | ipcMainHandle('git.cloneGitRepo', (_, options: Parameters<typeof cloneGitRepoAction>[0]) => |
| 4275 | cloneGitRepoAction(options), |
| 4276 | ); |
| 4277 | ipcMainHandle('git.openGitRepo', (_, options: Parameters<typeof openGitRepoAction>[0]) => openGitRepoAction(options)); |
| 4278 | ipcMainHandle('git.checkGitRepoDirectory', (_, options: Parameters<typeof checkGitRepoDirectoryAction>[0]) => |
| 4279 | checkGitRepoDirectoryAction(options), |
| 4280 | ); |
| 4281 | ipcMainHandle('git.resolveGitRepoFolderPath', (_, options: Parameters<typeof resolveGitRepoFolderPathAction>[0]) => |
| 4282 | resolveGitRepoFolderPathAction(options), |
| 4283 | ); |
| 4284 | ipcMainHandle('git.cleanupGitRepoStorage', (_, options: Parameters<typeof cleanupGitRepoStorageAction>[0]) => |
| 4285 | cleanupGitRepoStorageAction(options), |
| 4286 | ); |
| 4287 | ipcMainHandle('git.relocateGitRepo', (_, options: Parameters<typeof relocateGitRepoAction>[0]) => |
| 4288 | relocateGitRepoAction(options), |
| 4289 | ); |
| 4290 | ipcMainHandle('git.initGitRepoClone', (_, options: Parameters<typeof initGitRepoCloneAction>[0]) => |
| 4291 | initGitRepoCloneAction(options), |
| 4292 | ); |
| 4293 | ipcMainHandle('git.updateGitRepo', (_, options: Parameters<typeof updateGitRepoAction>[0]) => |
| 4294 | updateGitRepoAction(options), |
| 4295 | ); |
| 4296 | ipcMainHandle('git.resetGitRepo', (_, options: Parameters<typeof resetGitRepoAction>[0]) => |
| 4297 | resetGitRepoAction(options), |
| 4298 | ); |
| 4299 | ipcMainHandle('git.commitToGitRepo', (_, options: Parameters<typeof commitToGitRepoAction>[0]) => |
| 4300 | commitToGitRepoAction(options), |
| 4301 | ); |
| 4302 | ipcMainHandle('git.commitAndPushToGitRepo', (_, options: Parameters<typeof commitAndPushToGitRepoAction>[0]) => |
| 4303 | commitAndPushToGitRepoAction(options), |
| 4304 | ); |
no test coverage detected