1 | import * as resp from './response';
|
2 | import * as types from './types';
|
3 | import { GitError } from './errors';
|
4 |
|
5 | export interface SimpleGitFactory {
|
6 | (baseDir?: string, options?: Partial<types.SimpleGitOptions>): SimpleGit;
|
7 |
|
8 | (baseDir: string): SimpleGit;
|
9 |
|
10 | (options: Partial<types.SimpleGitOptions>): SimpleGit;
|
11 | }
|
12 |
|
13 | export type Response<T> = SimpleGit & Promise<T>;
|
14 |
|
15 | export interface SimpleGitBase {
|
16 | |
17 |
|
18 |
|
19 | add(files: string | string[], callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
20 |
|
21 | |
22 |
|
23 |
|
24 | cwd(directory: { path: string, root?: boolean }, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
25 |
|
26 | cwd<path extends string>(directory: path, callback?: types.SimpleGitTaskCallback<path>): Response<path>;
|
27 |
|
28 | |
29 |
|
30 |
|
31 | hashObject(path: string, callback?: types.SimpleGitTaskCallback): Response<string>;
|
32 |
|
33 | hashObject(path: string, write ?: boolean, callback?: types.SimpleGitTaskCallback): Response<string>;
|
34 |
|
35 | |
36 |
|
37 |
|
38 | init(bare: boolean, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.InitResult>): Response<resp.InitResult>;
|
39 |
|
40 | init(bare: boolean, callback?: types.SimpleGitTaskCallback<resp.InitResult>): Response<resp.InitResult>;
|
41 |
|
42 | init(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.InitResult>): Response<resp.InitResult>;
|
43 |
|
44 | init(callback?: types.SimpleGitTaskCallback<resp.InitResult>): Response<resp.InitResult>;
|
45 |
|
46 | |
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 | merge(options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.MergeResult>): Response<resp.MergeResult>;
|
59 |
|
60 | |
61 |
|
62 |
|
63 |
|
64 | mergeFromTo<E extends GitError>(remote: string, branch: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.MergeResult, E>): Response<resp.MergeResult>;
|
65 |
|
66 | mergeFromTo<E extends GitError>(remote: string, branch: string, callback?: types.SimpleGitTaskCallback<resp.MergeResult, E>): Response<resp.MergeResult>;
|
67 |
|
68 | |
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 | outputHandler(handler: types.outputHandler | void): this;
|
83 |
|
84 | |
85 |
|
86 |
|
87 |
|
88 | push(remote?: string, branch?: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
89 |
|
90 | push(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
91 |
|
92 | push(callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
93 |
|
94 | |
95 |
|
96 |
|
97 | stash(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
98 |
|
99 | stash(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
100 |
|
101 | |
102 |
|
103 |
|
104 | status(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.StatusResult>): Response<resp.StatusResult>;
|
105 |
|
106 | status(callback?: types.SimpleGitTaskCallback<resp.StatusResult>): Response<resp.StatusResult>;
|
107 |
|
108 | }
|
109 |
|
110 | export interface SimpleGit extends SimpleGitBase {
|
111 |
|
112 | |
113 |
|
114 |
|
115 | addAnnotatedTag(tagName: string, tagMessage: string, callback?: types.SimpleGitTaskCallback<{ name: string }>): Response<{ name: string }>;
|
116 |
|
117 | |
118 |
|
119 |
|
120 |
|
121 | addConfig(key: string, value: string, append?: boolean, scope?: keyof typeof types.GitConfigScope, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
122 |
|
123 | addConfig(key: string, value: string, append?: boolean, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
124 |
|
125 | addConfig(key: string, value: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
126 |
|
127 | |
128 |
|
129 |
|
130 | applyPatch(patches: string | string[], options: types.TaskOptions<types.ApplyOptions>, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
131 |
|
132 | applyPatch(patches: string | string[], callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
133 |
|
134 | |
135 |
|
136 |
|
137 | listConfig(scope: keyof typeof types.GitConfigScope, callback?: types.SimpleGitTaskCallback<resp.ConfigListSummary>): Response<resp.ConfigListSummary>;
|
138 |
|
139 | listConfig(callback?: types.SimpleGitTaskCallback<resp.ConfigListSummary>): Response<resp.ConfigListSummary>;
|
140 |
|
141 | |
142 |
|
143 |
|
144 |
|
145 |
|
146 |
|
147 |
|
148 | addRemote(remoteName: string, remoteRepo: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
149 |
|
150 | addRemote(remoteName: string, remoteRepo: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
151 |
|
152 | |
153 |
|
154 |
|
155 | addTag(name: string, callback?: types.SimpleGitTaskCallback<{ name: string }>): Response<{ name: string }>;
|
156 |
|
157 | |
158 |
|
159 |
|
160 | binaryCatFile(options: string[], callback?: types.SimpleGitTaskCallback<any>): Response<any>;
|
161 |
|
162 | |
163 |
|
164 |
|
165 | branch(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.BranchSummary>): Response<resp.BranchSummary>;
|
166 |
|
167 | |
168 |
|
169 |
|
170 | branchLocal(callback?: types.SimpleGitTaskCallback<resp.BranchSummary>): Response<resp.BranchSummary>;
|
171 |
|
172 | |
173 |
|
174 |
|
175 |
|
176 |
|
177 |
|
178 |
|
179 |
|
180 | catFile(options: string[], callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
181 |
|
182 | catFile(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
183 |
|
184 | |
185 |
|
186 |
|
187 |
|
188 | checkIgnore(pathNames: string[], callback?: types.SimpleGitTaskCallback<string[]>): Response<string[]>;
|
189 |
|
190 | checkIgnore(path: string, callback?: types.SimpleGitTaskCallback<string[]>): Response<string[]>;
|
191 |
|
192 | |
193 |
|
194 |
|
195 |
|
196 |
|
197 |
|
198 |
|
199 |
|
200 |
|
201 |
|
202 | checkIsRepo(action?: types.CheckRepoActions, callback?: types.SimpleGitTaskCallback<boolean>): Response<boolean>;
|
203 |
|
204 | checkIsRepo(callback?: types.SimpleGitTaskCallback<boolean>): Response<boolean>;
|
205 |
|
206 | |
207 |
|
208 |
|
209 |
|
210 | checkout(what: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
211 |
|
212 | checkout(what: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
213 |
|
214 | checkout(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
215 |
|
216 | |
217 |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 | checkoutBranch(branchName: string, startPoint: string, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
223 |
|
224 | |
225 |
|
226 |
|
227 | checkoutLatestTag(branchName: string, startPoint: string, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
228 |
|
229 | |
230 |
|
231 |
|
232 | checkoutLocalBranch(branchName: string, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
233 |
|
234 | |
235 |
|
236 |
|
237 |
|
238 |
|
239 |
|
240 |
|
241 |
|
242 |
|
243 |
|
244 |
|
245 |
|
246 |
|
247 |
|
248 | clean(args: types.CleanOptions[], options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.CleanSummary>): Response<resp.CleanSummary>;
|
249 |
|
250 | clean(mode: types.CleanMode | string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.CleanSummary>): Response<resp.CleanSummary>;
|
251 |
|
252 | clean(mode: types.CleanMode | string, callback?: types.SimpleGitTaskCallback<resp.CleanSummary>): Response<resp.CleanSummary>;
|
253 |
|
254 | clean(options?: types.TaskOptions): Response<resp.CleanSummary>;
|
255 |
|
256 | clean(callback?: types.SimpleGitTaskCallback<resp.CleanSummary>): Response<resp.CleanSummary>;
|
257 |
|
258 | |
259 |
|
260 |
|
261 | clearQueue(): this;
|
262 |
|
263 | |
264 |
|
265 |
|
266 |
|
267 |
|
268 |
|
269 |
|
270 | clone(repoPath: string, localPath: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
271 |
|
272 | clone(repoPath: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
273 |
|
274 | |
275 |
|
276 |
|
277 |
|
278 | commit(
|
279 | message: string | string[],
|
280 | files?: string | string[],
|
281 | options?: types.Options,
|
282 | callback?: types.SimpleGitTaskCallback<resp.CommitResult>): Response<resp.CommitResult>;
|
283 |
|
284 | commit(
|
285 | message: string | string[],
|
286 | options?: types.TaskOptions,
|
287 | callback?: types.SimpleGitTaskCallback<resp.CommitResult>): Response<resp.CommitResult>;
|
288 |
|
289 | commit(
|
290 | message: string | string[],
|
291 | files?: string | string[],
|
292 | callback?: types.SimpleGitTaskCallback<resp.CommitResult>): Response<resp.CommitResult>;
|
293 |
|
294 | commit(
|
295 | message: string | string[],
|
296 | callback?: types.SimpleGitTaskCallback<resp.CommitResult>): Response<resp.CommitResult>;
|
297 |
|
298 | |
299 |
|
300 |
|
301 |
|
302 | customBinary(command: string): this;
|
303 |
|
304 | |
305 |
|
306 |
|
307 |
|
308 |
|
309 |
|
310 |
|
311 | deleteLocalBranch(branchName: string, forceDelete?: boolean, callback?: types.SimpleGitTaskCallback<resp.BranchSingleDeleteResult>): Response<resp.BranchSingleDeleteResult>;
|
312 |
|
313 | deleteLocalBranch(branchName: string, callback?: types.SimpleGitTaskCallback<resp.BranchSingleDeleteResult>): Response<resp.BranchSingleDeleteResult>;
|
314 |
|
315 | |
316 |
|
317 |
|
318 |
|
319 |
|
320 |
|
321 |
|
322 |
|
323 | deleteLocalBranches(branchNames: string[], forceDelete?: boolean, callback?: types.SimpleGitTaskCallback<resp.BranchMultiDeleteResult>): Response<resp.BranchMultiDeleteResult>;
|
324 |
|
325 | |
326 |
|
327 |
|
328 | diff(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
329 |
|
330 | |
331 |
|
332 |
|
333 |
|
334 |
|
335 | diffSummary(command: string | number, options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.DiffResult>): Response<resp.DiffResult>;
|
336 |
|
337 | diffSummary(command: string | number, callback?: types.SimpleGitTaskCallback<resp.DiffResult>): Response<resp.DiffResult>;
|
338 |
|
339 | diffSummary(options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.DiffResult>): Response<resp.DiffResult>;
|
340 |
|
341 | diffSummary(callback?: types.SimpleGitTaskCallback<resp.DiffResult>): Response<resp.DiffResult>;
|
342 |
|
343 | |
344 |
|
345 |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 | env(name: string, value: string): this;
|
351 |
|
352 | env(env: object): this;
|
353 |
|
354 | |
355 |
|
356 |
|
357 |
|
358 | exec(handle: () => void): Response<void>;
|
359 |
|
360 | |
361 |
|
362 |
|
363 | fetch(remote: string, branch: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.FetchResult>): Response<resp.FetchResult>;
|
364 |
|
365 | fetch(remote: string, branch: string, callback?: types.SimpleGitTaskCallback<resp.FetchResult>): Response<resp.FetchResult>;
|
366 |
|
367 | fetch(remote: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.FetchResult>): Response<resp.FetchResult>;
|
368 |
|
369 | fetch(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.FetchResult>): Response<resp.FetchResult>;
|
370 |
|
371 | fetch(callback?: types.SimpleGitTaskCallback<resp.FetchResult>): Response<resp.FetchResult>;
|
372 |
|
373 | |
374 |
|
375 |
|
376 |
|
377 |
|
378 | getConfig(key: string, scope?: keyof typeof types.GitConfigScope, callback?: types.SimpleGitTaskCallback<string>): Response<resp.ConfigGetResult>;
|
379 |
|
380 | |
381 |
|
382 |
|
383 |
|
384 | getRemotes(callback?: types.SimpleGitTaskCallback<types.RemoteWithoutRefs[]>): Response<types.RemoteWithoutRefs[]>;
|
385 |
|
386 | getRemotes(verbose?: false, callback?: types.SimpleGitTaskCallback<types.RemoteWithoutRefs[]>): Response<types.RemoteWithoutRefs[]>;
|
387 |
|
388 | getRemotes(verbose: true, callback?: types.SimpleGitTaskCallback<types.RemoteWithRefs[]>): Response<types.RemoteWithRefs[]>;
|
389 |
|
390 | |
391 |
|
392 |
|
393 |
|
394 | listRemote(args?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
395 |
|
396 | |
397 |
|
398 |
|
399 |
|
400 |
|
401 |
|
402 |
|
403 |
|
404 |
|
405 |
|
406 |
|
407 |
|
408 |
|
409 |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 |
|
415 |
|
416 |
|
417 |
|
418 |
|
419 |
|
420 | log<T = types.DefaultLogFields>(options?: types.TaskOptions | types.LogOptions<T>, callback?: types.SimpleGitTaskCallback<resp.LogResult<T>>): Response<resp.LogResult<T>>;
|
421 |
|
422 | |
423 |
|
424 |
|
425 |
|
426 |
|
427 |
|
428 | mirror(repoPath: string, localPath: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
429 |
|
430 | |
431 |
|
432 |
|
433 |
|
434 |
|
435 | mv(from: string | string[], to: string, callback?: types.SimpleGitTaskCallback<resp.MoveSummary>): Response<resp.MoveSummary>;
|
436 |
|
437 | |
438 |
|
439 |
|
440 | pull(remote?: string, branch?: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.PullResult>): Response<resp.PullResult>;
|
441 |
|
442 | pull(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.PullResult>): Response<resp.PullResult>;
|
443 |
|
444 | pull(callback?: types.SimpleGitTaskCallback<resp.PullResult>): Response<resp.PullResult>;
|
445 |
|
446 | |
447 |
|
448 |
|
449 |
|
450 | pushTags(remote: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
451 |
|
452 | pushTags(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
453 |
|
454 | pushTags(callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
455 |
|
456 | |
457 |
|
458 |
|
459 | raw(commands: string | string[] | types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
460 |
|
461 | raw(options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
462 |
|
463 | raw(...commands: string[]): Response<string>;
|
464 |
|
465 |
|
466 | raw(a: string, options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
467 |
|
468 | raw(a: string, b: string, options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
469 |
|
470 | raw(a: string, b: string, c: string, options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
471 |
|
472 | raw(a: string, b: string, c: string, d: string, options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
473 |
|
474 | raw(a: string, b: string, c: string, d: string, e: string, options: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
475 |
|
476 |
|
477 | raw(a: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
478 |
|
479 | raw(a: string, b: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
480 |
|
481 | raw(a: string, b: string, c: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
482 |
|
483 | raw(a: string, b: string, c: string, d: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
484 |
|
485 | raw(a: string, b: string, c: string, d: string, e: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
486 |
|
487 | |
488 |
|
489 |
|
490 |
|
491 | rebase(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
492 |
|
493 | rebase(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
494 |
|
495 | |
496 |
|
497 |
|
498 | remote(options: string[], callback?: types.SimpleGitTaskCallback<void | string>): Response<void | string>;
|
499 |
|
500 | |
501 |
|
502 |
|
503 |
|
504 |
|
505 | removeRemote(remoteName: string, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
506 |
|
507 | |
508 |
|
509 |
|
510 |
|
511 |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 |
|
517 |
|
518 |
|
519 |
|
520 |
|
521 |
|
522 |
|
523 |
|
524 | reset(mode: types.ResetMode, options?: types.TaskOptions<types.ResetOptions>, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
525 |
|
526 | reset(mode: types.ResetMode, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
527 |
|
528 | reset(options?: types.TaskOptions<types.ResetOptions>, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
529 |
|
530 | |
531 |
|
532 |
|
533 |
|
534 |
|
535 | revert(commit: String, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
536 |
|
537 | revert(commit: String, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
538 |
|
539 | |
540 |
|
541 |
|
542 |
|
543 |
|
544 |
|
545 |
|
546 |
|
547 | revparse(option: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
548 |
|
549 | revparse(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
550 |
|
551 | |
552 |
|
553 |
|
554 | rm(paths: string | string[], callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
555 |
|
556 | |
557 |
|
558 |
|
559 |
|
560 | rmKeepLocal(paths: string | string[], callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
561 |
|
562 | |
563 |
|
564 |
|
565 | show(option: string | types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
566 |
|
567 | show(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
568 |
|
569 | |
570 |
|
571 |
|
572 |
|
573 |
|
574 |
|
575 |
|
576 |
|
577 |
|
578 |
|
579 |
|
580 |
|
581 |
|
582 | silent(silence?: boolean): this;
|
583 |
|
584 | |
585 |
|
586 |
|
587 | stashList(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.LogResult>): Response<resp.LogResult>;
|
588 |
|
589 | stashList(callback?: types.SimpleGitTaskCallback<resp.LogResult>): Response<resp.LogResult>;
|
590 |
|
591 | |
592 |
|
593 |
|
594 | subModule(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
595 |
|
596 | |
597 |
|
598 |
|
599 | submoduleAdd(repo: string, path: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
600 |
|
601 | |
602 |
|
603 |
|
604 | submoduleInit(moduleName: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
605 |
|
606 | submoduleInit(moduleName: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
607 |
|
608 | submoduleInit(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
609 |
|
610 | submoduleInit(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
611 |
|
612 | |
613 |
|
614 |
|
615 | submoduleUpdate(moduleName: string, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
616 |
|
617 | submoduleUpdate(moduleName: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
618 |
|
619 | submoduleUpdate(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
620 |
|
621 | submoduleUpdate(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
622 |
|
623 | |
624 |
|
625 |
|
626 |
|
627 |
|
628 |
|
629 | tag(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
630 |
|
631 | |
632 |
|
633 |
|
634 | tags(options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.TagResult>): Response<resp.TagResult>;
|
635 |
|
636 | tags(callback?: types.SimpleGitTaskCallback<resp.TagResult>): Response<resp.TagResult>;
|
637 |
|
638 | |
639 |
|
640 |
|
641 | updateServerInfo(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
642 | }
|