* The node-style callback to a task accepts either two arguments with the first as a null
4
* and the second as the data, or just one argument which is an error.
5
*/
6
exportdeclaretype SimpleGitTaskCallback<T = string, E extends GitError = GitError> = (err: E | null, data: T) =>void;
7
/**
8
* The event data emitted to the progress handler whenever progress detail is received.
9
*/
10
exportinterface SimpleGitProgressEvent {
11
/** The underlying method called - push, pull etc */
12
method: string;
13
/** The type of progress being reported, note that any one task may emit many stages - for example `git clone` emits both `receiving` and `resolving` */