aboutsummaryrefslogtreecommitdiff
path: root/node_modules/simple-git/src
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/simple-git/src')
-rw-r--r--node_modules/simple-git/src/lib/api.d.ts11
-rw-r--r--node_modules/simple-git/src/lib/errors/git-construct-error.d.ts15
-rw-r--r--node_modules/simple-git/src/lib/errors/git-error.d.ts29
-rw-r--r--node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts6
-rw-r--r--node_modules/simple-git/src/lib/errors/git-response-error.d.ts32
-rw-r--r--node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts12
-rw-r--r--node_modules/simple-git/src/lib/git-factory.d.ts15
-rw-r--r--node_modules/simple-git/src/lib/git-logger.d.ts21
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts5
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-branch.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-commit.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts5
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-merge.d.ts11
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-move.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-pull.d.ts6
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-push.d.ts4
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts5
-rw-r--r--node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts8
-rw-r--r--node_modules/simple-git/src/lib/plugins/index.d.ts8
-rw-r--r--node_modules/simple-git/src/lib/plugins/plugin-store.d.ts6
-rw-r--r--node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts37
-rw-r--r--node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts4
-rw-r--r--node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts12
-rw-r--r--node_modules/simple-git/src/lib/responses/BranchSummary.d.ts10
-rw-r--r--node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts4
-rw-r--r--node_modules/simple-git/src/lib/responses/CleanSummary.d.ts9
-rw-r--r--node_modules/simple-git/src/lib/responses/ConfigList.d.ts13
-rw-r--r--node_modules/simple-git/src/lib/responses/DiffSummary.d.ts10
-rw-r--r--node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts9
-rw-r--r--node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts11
-rw-r--r--node_modules/simple-git/src/lib/responses/InitSummary.d.ts9
-rw-r--r--node_modules/simple-git/src/lib/responses/MergeSummary.d.ts16
-rw-r--r--node_modules/simple-git/src/lib/responses/PullSummary.d.ts25
-rw-r--r--node_modules/simple-git/src/lib/responses/StatusSummary.d.ts19
-rw-r--r--node_modules/simple-git/src/lib/responses/TagList.d.ts7
-rw-r--r--node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts25
-rw-r--r--node_modules/simple-git/src/lib/runners/git-executor.d.ts15
-rw-r--r--node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/runners/scheduler.d.ts11
-rw-r--r--node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts23
-rw-r--r--node_modules/simple-git/src/lib/simple-git-api.d.ts20
-rw-r--r--node_modules/simple-git/src/lib/task-callback.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/tasks/apply-patch.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/branch.d.ts7
-rw-r--r--node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/tasks/check-ignore.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts9
-rw-r--r--node_modules/simple-git/src/lib/tasks/clean.d.ts25
-rw-r--r--node_modules/simple-git/src/lib/tasks/clone.d.ts4
-rw-r--r--node_modules/simple-git/src/lib/tasks/commit.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/config.d.ts8
-rw-r--r--node_modules/simple-git/src/lib/tasks/diff.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/fetch.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/grep.d.ts12
-rw-r--r--node_modules/simple-git/src/lib/tasks/hash-object.d.ts5
-rw-r--r--node_modules/simple-git/src/lib/tasks/init.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/log.d.ts32
-rw-r--r--node_modules/simple-git/src/lib/tasks/merge.d.ts4
-rw-r--r--node_modules/simple-git/src/lib/tasks/move.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/pull.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/push.d.ts9
-rw-r--r--node_modules/simple-git/src/lib/tasks/remote.d.ts6
-rw-r--r--node_modules/simple-git/src/lib/tasks/reset.d.ts11
-rw-r--r--node_modules/simple-git/src/lib/tasks/stash-list.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/status.d.ts3
-rw-r--r--node_modules/simple-git/src/lib/tasks/sub-module.d.ts5
-rw-r--r--node_modules/simple-git/src/lib/tasks/tag.d.ts18
-rw-r--r--node_modules/simple-git/src/lib/tasks/task.d.ts14
-rw-r--r--node_modules/simple-git/src/lib/types/handlers.d.ts21
-rw-r--r--node_modules/simple-git/src/lib/types/index.d.ts99
-rw-r--r--node_modules/simple-git/src/lib/types/tasks.d.ts20
-rw-r--r--node_modules/simple-git/src/lib/utils/argument-filters.d.ts16
-rw-r--r--node_modules/simple-git/src/lib/utils/exit-codes.d.ts9
-rw-r--r--node_modules/simple-git/src/lib/utils/git-output-streams.d.ts8
-rw-r--r--node_modules/simple-git/src/lib/utils/index.d.ts8
-rw-r--r--node_modules/simple-git/src/lib/utils/line-parser.d.ts15
-rw-r--r--node_modules/simple-git/src/lib/utils/simple-git-options.d.ts2
-rw-r--r--node_modules/simple-git/src/lib/utils/task-options.d.ts13
-rw-r--r--node_modules/simple-git/src/lib/utils/task-parser.d.ts5
-rw-r--r--node_modules/simple-git/src/lib/utils/util.d.ts45
87 files changed, 977 insertions, 0 deletions
diff --git a/node_modules/simple-git/src/lib/api.d.ts b/node_modules/simple-git/src/lib/api.d.ts
new file mode 100644
index 0000000..38f6fe4
--- /dev/null
+++ b/node_modules/simple-git/src/lib/api.d.ts
@@ -0,0 +1,11 @@
+import { GitConstructError } from './errors/git-construct-error';
+import { GitError } from './errors/git-error';
+import { GitPluginError } from './errors/git-plugin-error';
+import { GitResponseError } from './errors/git-response-error';
+import { TaskConfigurationError } from './errors/task-configuration-error';
+import { CheckRepoActions } from './tasks/check-is-repo';
+import { CleanOptions } from './tasks/clean';
+import { GitConfigScope } from './tasks/config';
+import { grepQueryBuilder } from './tasks/grep';
+import { ResetMode } from './tasks/reset';
+export { CheckRepoActions, CleanOptions, GitConfigScope, GitConstructError, GitError, GitPluginError, GitResponseError, ResetMode, TaskConfigurationError, grepQueryBuilder, };
diff --git a/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts b/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts
new file mode 100644
index 0000000..6c6f067
--- /dev/null
+++ b/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts
@@ -0,0 +1,15 @@
+import { GitError } from './git-error';
+import { SimpleGitOptions } from '../types';
+/**
+ * The `GitConstructError` is thrown when an error occurs in the constructor
+ * of the `simple-git` instance itself. Most commonly as a result of using
+ * a `baseDir` option that points to a folder that either does not exist,
+ * or cannot be read by the user the node script is running as.
+ *
+ * Check the `.message` property for more detail including the properties
+ * passed to the constructor.
+ */
+export declare class GitConstructError extends GitError {
+ readonly config: SimpleGitOptions;
+ constructor(config: SimpleGitOptions, message: string);
+}
diff --git a/node_modules/simple-git/src/lib/errors/git-error.d.ts b/node_modules/simple-git/src/lib/errors/git-error.d.ts
new file mode 100644
index 0000000..a0677ab
--- /dev/null
+++ b/node_modules/simple-git/src/lib/errors/git-error.d.ts
@@ -0,0 +1,29 @@
+/**
+ * The `GitError` is thrown when the underlying `git` process throws a
+ * fatal exception (eg an `ENOENT` exception when attempting to use a
+ * non-writable directory as the root for your repo), and acts as the
+ * base class for more specific errors thrown by the parsing of the
+ * git response or errors in the configuration of the task about to
+ * be run.
+ *
+ * When an exception is thrown, pending tasks in the same instance will
+ * not be executed. The recommended way to run a series of tasks that
+ * can independently fail without needing to prevent future tasks from
+ * running is to catch them individually:
+ *
+ * ```typescript
+ import { gitP, SimpleGit, GitError, PullResult } from 'simple-git';
+
+ function catchTask (e: GitError) {
+ return e.
+ }
+
+ const git = gitP(repoWorkingDir);
+ const pulled: PullResult | GitError = await git.pull().catch(catchTask);
+ const pushed: string | GitError = await git.pushTags().catch(catchTask);
+ ```
+ */
+export declare class GitError extends Error {
+ task?: import("../tasks/task").EmptyTask | import("../types").StringTask<any> | import("../types").BufferTask<any> | undefined;
+ constructor(task?: import("../tasks/task").EmptyTask | import("../types").StringTask<any> | import("../types").BufferTask<any> | undefined, message?: string);
+}
diff --git a/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts b/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts
new file mode 100644
index 0000000..17aed24
--- /dev/null
+++ b/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts
@@ -0,0 +1,6 @@
+import { GitError } from './git-error';
+export declare class GitPluginError extends GitError {
+ task?: import("../tasks/task").EmptyTask | import("../types").StringTask<any> | import("../types").BufferTask<any> | undefined;
+ readonly plugin?: "progress" | "timeout" | "completion" | "errors" | "spawnOptions" | "baseDir" | "binary" | "maxConcurrentProcesses" | "config" | undefined;
+ constructor(task?: import("../tasks/task").EmptyTask | import("../types").StringTask<any> | import("../types").BufferTask<any> | undefined, plugin?: "progress" | "timeout" | "completion" | "errors" | "spawnOptions" | "baseDir" | "binary" | "maxConcurrentProcesses" | "config" | undefined, message?: string);
+}
diff --git a/node_modules/simple-git/src/lib/errors/git-response-error.d.ts b/node_modules/simple-git/src/lib/errors/git-response-error.d.ts
new file mode 100644
index 0000000..5d77bb0
--- /dev/null
+++ b/node_modules/simple-git/src/lib/errors/git-response-error.d.ts
@@ -0,0 +1,32 @@
+import { GitError } from './git-error';
+/**
+ * The `GitResponseError` is the wrapper for a parsed response that is treated as
+ * a fatal error, for example attempting a `merge` can leave the repo in a corrupted
+ * state when there are conflicts so the task will reject rather than resolve.
+ *
+ * For example, catching the merge conflict exception:
+ *
+ * ```typescript
+ import { gitP, SimpleGit, GitResponseError, MergeSummary } from 'simple-git';
+
+ const git = gitP(repoRoot);
+ const mergeOptions: string[] = ['--no-ff', 'other-branch'];
+ const mergeSummary: MergeSummary = await git.merge(mergeOptions)
+ .catch((e: GitResponseError<MergeSummary>) => e.git);
+
+ if (mergeSummary.failed) {
+ // deal with the error
+ }
+ ```
+ */
+export declare class GitResponseError<T = any> extends GitError {
+ /**
+ * `.git` access the parsed response that is treated as being an error
+ */
+ readonly git: T;
+ constructor(
+ /**
+ * `.git` access the parsed response that is treated as being an error
+ */
+ git: T, message?: string);
+}
diff --git a/node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts b/node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts
new file mode 100644
index 0000000..9f8a957
--- /dev/null
+++ b/node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts
@@ -0,0 +1,12 @@
+import { GitError } from './git-error';
+/**
+ * The `TaskConfigurationError` is thrown when a command was incorrectly
+ * configured. An error of this kind means that no attempt was made to
+ * run your command through the underlying `git` binary.
+ *
+ * Check the `.message` property for more detail on why your configuration
+ * resulted in an error.
+ */
+export declare class TaskConfigurationError extends GitError {
+ constructor(message?: string);
+}
diff --git a/node_modules/simple-git/src/lib/git-factory.d.ts b/node_modules/simple-git/src/lib/git-factory.d.ts
new file mode 100644
index 0000000..ed550dd
--- /dev/null
+++ b/node_modules/simple-git/src/lib/git-factory.d.ts
@@ -0,0 +1,15 @@
+import { SimpleGitFactory } from '../../typings';
+import * as api from './api';
+import { SimpleGitOptions } from './types';
+/**
+ * Adds the necessary properties to the supplied object to enable it for use as
+ * the default export of a module.
+ *
+ * Eg: `module.exports = esModuleFactory({ something () {} })`
+ */
+export declare function esModuleFactory<T>(defaultExport: T): T & {
+ __esModule: true;
+ default: T;
+};
+export declare function gitExportFactory<T = {}>(factory: SimpleGitFactory, extra: T): ((options: Partial<SimpleGitOptions>) => import("../../typings").SimpleGit) & typeof api;
+export declare function gitInstanceFactory(baseDir?: string | Partial<SimpleGitOptions>, options?: Partial<SimpleGitOptions>): any;
diff --git a/node_modules/simple-git/src/lib/git-logger.d.ts b/node_modules/simple-git/src/lib/git-logger.d.ts
new file mode 100644
index 0000000..7f3748d
--- /dev/null
+++ b/node_modules/simple-git/src/lib/git-logger.d.ts
@@ -0,0 +1,21 @@
+import { Debugger } from 'debug';
+declare type OutputLoggingHandler = (message: string, ...args: any[]) => void;
+export interface OutputLogger extends OutputLoggingHandler {
+ readonly label: string;
+ info: OutputLoggingHandler;
+ step(nextStep?: string): OutputLogger;
+ sibling(name: string): OutputLogger;
+}
+export declare function createLogger(label: string, verbose?: string | Debugger, initialStep?: string, infoDebugger?: Debugger): OutputLogger;
+/**
+ * The `GitLogger` is used by the main `SimpleGit` runner to handle logging
+ * any warnings or errors.
+ */
+export declare class GitLogger {
+ private _out;
+ error: OutputLoggingHandler;
+ warn: OutputLoggingHandler;
+ constructor(_out?: Debugger);
+ silent(silence?: boolean): void;
+}
+export {};
diff --git a/node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts b/node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts
new file mode 100644
index 0000000..ee05b45
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts
@@ -0,0 +1,5 @@
+import { BranchMultiDeleteResult } from '../../../typings';
+import { TaskParser } from '../types';
+import { ExitCodes } from '../utils';
+export declare const parseBranchDeletions: TaskParser<string, BranchMultiDeleteResult>;
+export declare function hasBranchDeletionError(data: string, processExitCode: ExitCodes): boolean;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-branch.d.ts b/node_modules/simple-git/src/lib/parsers/parse-branch.d.ts
new file mode 100644
index 0000000..3c39c29
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-branch.d.ts
@@ -0,0 +1,2 @@
+import { BranchSummary } from '../../../typings';
+export declare function parseBranchSummary(stdOut: string): BranchSummary;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-commit.d.ts b/node_modules/simple-git/src/lib/parsers/parse-commit.d.ts
new file mode 100644
index 0000000..1b47298
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-commit.d.ts
@@ -0,0 +1,2 @@
+import { CommitResult } from '../../../typings';
+export declare function parseCommitResult(stdOut: string): CommitResult;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts b/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts
new file mode 100644
index 0000000..baaeb64
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts
@@ -0,0 +1,2 @@
+import { DiffResult } from '../../../typings';
+export declare function parseDiffResult(stdOut: string): DiffResult;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts b/node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts
new file mode 100644
index 0000000..98dc1a3
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts
@@ -0,0 +1,2 @@
+import { FetchResult } from '../../../typings';
+export declare function parseFetchResult(stdOut: string, stdErr: string): FetchResult;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts b/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts
new file mode 100644
index 0000000..113af34
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts
@@ -0,0 +1,5 @@
+import { LogResult } from '../../../typings';
+export declare const START_BOUNDARY = "\u00F2\u00F2\u00F2\u00F2\u00F2\u00F2 ";
+export declare const COMMIT_BOUNDARY = " \u00F2\u00F2";
+export declare const SPLITTER = " \u00F2 ";
+export declare function createListLogSummaryParser<T = any>(splitter?: string, fields?: string[]): (stdOut: string) => LogResult<T>;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-merge.d.ts b/node_modules/simple-git/src/lib/parsers/parse-merge.d.ts
new file mode 100644
index 0000000..42435fd
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-merge.d.ts
@@ -0,0 +1,11 @@
+import { MergeDetail, MergeResult } from '../../../typings';
+import { TaskParser } from '../types';
+/**
+ * Parse the complete response from `git.merge`
+ */
+export declare const parseMergeResult: TaskParser<string, MergeResult>;
+/**
+ * Parse the merge specific detail (ie: not the content also available in the pull detail) from `git.mnerge`
+ * @param stdOut
+ */
+export declare const parseMergeDetail: TaskParser<string, MergeDetail>;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-move.d.ts b/node_modules/simple-git/src/lib/parsers/parse-move.d.ts
new file mode 100644
index 0000000..a2af49d
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-move.d.ts
@@ -0,0 +1,2 @@
+import { MoveResult } from '../../../typings';
+export declare function parseMoveResult(stdOut: string): MoveResult;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-pull.d.ts b/node_modules/simple-git/src/lib/parsers/parse-pull.d.ts
new file mode 100644
index 0000000..95d2877
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-pull.d.ts
@@ -0,0 +1,6 @@
+import { PullDetail, PullResult } from '../../../typings';
+import { PullFailedSummary } from '../responses/PullSummary';
+import { TaskParser } from '../types';
+export declare const parsePullDetail: TaskParser<string, PullDetail>;
+export declare const parsePullResult: TaskParser<string, PullResult>;
+export declare function parsePullErrorResult(stdOut: string, stdErr: string): "" | PullFailedSummary;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-push.d.ts b/node_modules/simple-git/src/lib/parsers/parse-push.d.ts
new file mode 100644
index 0000000..9bb39b4
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-push.d.ts
@@ -0,0 +1,4 @@
+import { PushDetail, PushResult } from '../../../typings';
+import { TaskParser } from '../types';
+export declare const parsePushResult: TaskParser<string, PushResult>;
+export declare const parsePushDetail: TaskParser<string, PushDetail>;
diff --git a/node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts b/node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts
new file mode 100644
index 0000000..9c24989
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts
@@ -0,0 +1,5 @@
+import { RemoteMessageResult, RemoteMessages } from '../../../typings';
+export declare function parseRemoteMessages<T extends RemoteMessages = RemoteMessages>(_stdOut: string, stdErr: string): RemoteMessageResult;
+export declare class RemoteMessageSummary implements RemoteMessages {
+ readonly all: string[];
+}
diff --git a/node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts b/node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts
new file mode 100644
index 0000000..513b58a
--- /dev/null
+++ b/node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts
@@ -0,0 +1,3 @@
+import { RemoteMessageResult, RemoteMessages } from '../../../typings';
+import { RemoteLineParser } from '../utils';
+export declare const remoteMessagesObjectParsers: RemoteLineParser<RemoteMessageResult<RemoteMessages>>[];
diff --git a/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts
new file mode 100644
index 0000000..b5e4181
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts
@@ -0,0 +1,2 @@
+import { SimpleGitPlugin } from './simple-git-plugin';
+export declare function commandConfigPrefixingPlugin(configuration: string[]): SimpleGitPlugin<'spawn.args'>;
diff --git a/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts b/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts
new file mode 100644
index 0000000..a3c08de
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts
@@ -0,0 +1,3 @@
+import { SimpleGitPluginConfig } from '../types';
+import { SimpleGitPlugin } from './simple-git-plugin';
+export declare function completionDetectionPlugin({ onClose, onExit }?: SimpleGitPluginConfig['completion']): SimpleGitPlugin<'spawn.after'>;
diff --git a/node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts b/node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts
new file mode 100644
index 0000000..095c73a
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts
@@ -0,0 +1,8 @@
+/// <reference types="node" />
+import { GitExecutorResult, SimpleGitPluginConfig } from '../types';
+import { SimpleGitPlugin } from './simple-git-plugin';
+declare type TaskResult = Omit<GitExecutorResult, 'rejection'>;
+declare function isTaskError(result: TaskResult): boolean;
+export declare function errorDetectionHandler(overwrite?: boolean, isError?: typeof isTaskError, errorMessage?: (result: TaskResult) => Buffer | Error): (error: Buffer | Error | undefined, result: TaskResult) => Error | Buffer | undefined;
+export declare function errorDetectionPlugin(config: SimpleGitPluginConfig['errors']): SimpleGitPlugin<'task.error'>;
+export {};
diff --git a/node_modules/simple-git/src/lib/plugins/index.d.ts b/node_modules/simple-git/src/lib/plugins/index.d.ts
new file mode 100644
index 0000000..0cfb54e
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/index.d.ts
@@ -0,0 +1,8 @@
+export * from './command-config-prefixing-plugin';
+export * from './completion-detection.plugin';
+export * from './error-detection.plugin';
+export * from './plugin-store';
+export * from './progress-monitor-plugin';
+export * from './simple-git-plugin';
+export * from './spawn-options-plugin';
+export * from './timout-plugin';
diff --git a/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts b/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts
new file mode 100644
index 0000000..ceeef56
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts
@@ -0,0 +1,6 @@
+import { SimpleGitPlugin, SimpleGitPluginType, SimpleGitPluginTypes } from './simple-git-plugin';
+export declare class PluginStore {
+ private plugins;
+ add<T extends SimpleGitPluginType>(plugin: void | SimpleGitPlugin<T> | SimpleGitPlugin<T>[]): () => void;
+ exec<T extends SimpleGitPluginType>(type: T, data: SimpleGitPluginTypes[T]['data'], context: SimpleGitPluginTypes[T]['context']): typeof data;
+}
diff --git a/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts
new file mode 100644
index 0000000..ddd36b1
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts
@@ -0,0 +1,3 @@
+import { SimpleGitOptions } from '../types';
+import { SimpleGitPlugin } from './simple-git-plugin';
+export declare function progressMonitorPlugin(progress: Exclude<SimpleGitOptions['progress'], void>): (SimpleGitPlugin<"spawn.args"> | SimpleGitPlugin<"spawn.after">)[];
diff --git a/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts
new file mode 100644
index 0000000..cdb4f0b
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts
@@ -0,0 +1,37 @@
+/// <reference types="node" />
+import { ChildProcess, SpawnOptions } from 'child_process';
+import { GitExecutorResult } from '../types';
+declare type SimpleGitTaskPluginContext = {
+ readonly method: string;
+ readonly commands: string[];
+};
+export interface SimpleGitPluginTypes {
+ 'spawn.args': {
+ data: string[];
+ context: SimpleGitTaskPluginContext & {};
+ };
+ 'spawn.options': {
+ data: Partial<SpawnOptions>;
+ context: SimpleGitTaskPluginContext & {};
+ };
+ 'spawn.after': {
+ data: void;
+ context: SimpleGitTaskPluginContext & {
+ spawned: ChildProcess;
+ close(exitCode: number, reason?: Error): void;
+ kill(reason: Error): void;
+ };
+ };
+ 'task.error': {
+ data: {
+ error?: Error;
+ };
+ context: SimpleGitTaskPluginContext & GitExecutorResult;
+ };
+}
+export declare type SimpleGitPluginType = keyof SimpleGitPluginTypes;
+export interface SimpleGitPlugin<T extends SimpleGitPluginType> {
+ action(data: SimpleGitPluginTypes[T]['data'], context: SimpleGitPluginTypes[T]['context']): typeof data;
+ type: T;
+}
+export {};
diff --git a/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts
new file mode 100644
index 0000000..77770fe
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts
@@ -0,0 +1,4 @@
+/// <reference types="node" />
+import { SpawnOptions } from 'child_process';
+import { SimpleGitPlugin } from './simple-git-plugin';
+export declare function spawnOptionsPlugin(spawnOptions: Partial<SpawnOptions>): SimpleGitPlugin<'spawn.options'>;
diff --git a/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts
new file mode 100644
index 0000000..bebbf21
--- /dev/null
+++ b/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts
@@ -0,0 +1,3 @@
+import { SimpleGitOptions } from '../types';
+import { SimpleGitPlugin } from './simple-git-plugin';
+export declare function timeoutPlugin({ block }: Exclude<SimpleGitOptions['timeout'], undefined>): SimpleGitPlugin<'spawn.after'> | void;
diff --git a/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts b/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts
new file mode 100644
index 0000000..e7d3517
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts
@@ -0,0 +1,12 @@
+import { BranchMultiDeleteResult, BranchSingleDeleteFailure, BranchSingleDeleteResult, BranchSingleDeleteSuccess } from '../../../typings';
+export declare class BranchDeletionBatch implements BranchMultiDeleteResult {
+ all: BranchSingleDeleteResult[];
+ branches: {
+ [branchName: string]: BranchSingleDeleteResult;
+ };
+ errors: BranchSingleDeleteResult[];
+ get success(): boolean;
+}
+export declare function branchDeletionSuccess(branch: string, hash: string): BranchSingleDeleteSuccess;
+export declare function branchDeletionFailure(branch: string): BranchSingleDeleteFailure;
+export declare function isSingleBranchDeleteFailure(test: BranchSingleDeleteResult): test is BranchSingleDeleteSuccess;
diff --git a/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts b/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts
new file mode 100644
index 0000000..69cd698
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts
@@ -0,0 +1,10 @@
+import { BranchSummary, BranchSummaryBranch } from '../../../typings';
+export declare class BranchSummaryResult implements BranchSummary {
+ all: string[];
+ branches: {
+ [p: string]: BranchSummaryBranch;
+ };
+ current: string;
+ detached: boolean;
+ push(current: boolean, detached: boolean, name: string, commit: string, label: string): void;
+}
diff --git a/node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts b/node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts
new file mode 100644
index 0000000..e15478f
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts
@@ -0,0 +1,4 @@
+/**
+ * Parser for the `check-ignore` command - returns each file as a string array
+ */
+export declare const parseCheckIgnore: (text: string) => string[];
diff --git a/node_modules/simple-git/src/lib/responses/CleanSummary.d.ts b/node_modules/simple-git/src/lib/responses/CleanSummary.d.ts
new file mode 100644
index 0000000..d49ef04
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/CleanSummary.d.ts
@@ -0,0 +1,9 @@
+import { CleanSummary } from '../../../typings';
+export declare class CleanResponse implements CleanSummary {
+ readonly dryRun: boolean;
+ paths: string[];
+ files: string[];
+ folders: string[];
+ constructor(dryRun: boolean);
+}
+export declare function cleanSummaryParser(dryRun: boolean, text: string): CleanSummary;
diff --git a/node_modules/simple-git/src/lib/responses/ConfigList.d.ts b/node_modules/simple-git/src/lib/responses/ConfigList.d.ts
new file mode 100644
index 0000000..f01ed6a
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/ConfigList.d.ts
@@ -0,0 +1,13 @@
+import { ConfigGetResult, ConfigListSummary, ConfigValues } from '../../../typings';
+export declare class ConfigList implements ConfigListSummary {
+ files: string[];
+ values: {
+ [fileName: string]: ConfigValues;
+ };
+ private _all;
+ get all(): ConfigValues;
+ addFile(file: string): ConfigValues;
+ addValue(file: string, key: string, value: string): void;
+}
+export declare function configListParser(text: string): ConfigList;
+export declare function configGetParser(text: string, key: string): ConfigGetResult;
diff --git a/node_modules/simple-git/src/lib/responses/DiffSummary.d.ts b/node_modules/simple-git/src/lib/responses/DiffSummary.d.ts
new file mode 100644
index 0000000..16d63f0
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/DiffSummary.d.ts
@@ -0,0 +1,10 @@
+import { DiffResult, DiffResultBinaryFile, DiffResultTextFile } from '../../../typings';
+/***
+ * The DiffSummary is returned as a response to getting `git().status()`
+ */
+export declare class DiffSummary implements DiffResult {
+ changed: number;
+ deletions: number;
+ insertions: number;
+ files: Array<DiffResultTextFile | DiffResultBinaryFile>;
+}
diff --git a/node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts b/node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts
new file mode 100644
index 0000000..fd680a4
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts
@@ -0,0 +1,9 @@
+import { FileStatusResult } from '../../../typings/response';
+export declare const fromPathRegex: RegExp;
+export declare class FileStatusSummary implements FileStatusResult {
+ path: string;
+ index: string;
+ working_dir: string;
+ readonly from: string | undefined;
+ constructor(path: string, index: string, working_dir: string);
+}
diff --git a/node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts b/node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts
new file mode 100644
index 0000000..3ef9109
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts
@@ -0,0 +1,11 @@
+export interface RemoteWithoutRefs {
+ name: string;
+}
+export interface RemoteWithRefs extends RemoteWithoutRefs {
+ refs: {
+ fetch: string;
+ push: string;
+ };
+}
+export declare function parseGetRemotes(text: string): RemoteWithoutRefs[];
+export declare function parseGetRemotesVerbose(text: string): RemoteWithRefs[];
diff --git a/node_modules/simple-git/src/lib/responses/InitSummary.d.ts b/node_modules/simple-git/src/lib/responses/InitSummary.d.ts
new file mode 100644
index 0000000..634911f
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/InitSummary.d.ts
@@ -0,0 +1,9 @@
+import { InitResult } from '../../../typings';
+export declare class InitSummary implements InitResult {
+ readonly bare: boolean;
+ readonly path: string;
+ readonly existing: boolean;
+ readonly gitDir: string;
+ constructor(bare: boolean, path: string, existing: boolean, gitDir: string);
+}
+export declare function parseInit(bare: boolean, path: string, text: string): InitSummary;
diff --git a/node_modules/simple-git/src/lib/responses/MergeSummary.d.ts b/node_modules/simple-git/src/lib/responses/MergeSummary.d.ts
new file mode 100644
index 0000000..519e954
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/MergeSummary.d.ts
@@ -0,0 +1,16 @@
+import { MergeConflict, MergeConflictDeletion, MergeDetail, MergeResultStatus } from '../../../typings';
+export declare class MergeSummaryConflict implements MergeConflict {
+ readonly reason: string;
+ readonly file: string | null;
+ readonly meta?: MergeConflictDeletion | undefined;
+ constructor(reason: string, file?: string | null, meta?: MergeConflictDeletion | undefined);
+ toString(): string;
+}
+export declare class MergeSummaryDetail implements MergeDetail {
+ conflicts: MergeConflict[];
+ merges: string[];
+ result: MergeResultStatus;
+ get failed(): boolean;
+ get reason(): string;
+ toString(): string;
+}
diff --git a/node_modules/simple-git/src/lib/responses/PullSummary.d.ts b/node_modules/simple-git/src/lib/responses/PullSummary.d.ts
new file mode 100644
index 0000000..c5bc9bc
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/PullSummary.d.ts
@@ -0,0 +1,25 @@
+import { PullDetailFileChanges, PullDetailSummary, PullFailedResult, PullResult } from '../../../typings';
+export declare class PullSummary implements PullResult {
+ remoteMessages: {
+ all: never[];
+ };
+ created: never[];
+ deleted: string[];
+ files: string[];
+ deletions: PullDetailFileChanges;
+ insertions: PullDetailFileChanges;
+ summary: PullDetailSummary;
+}
+export declare class PullFailedSummary implements PullFailedResult {
+ remote: string;
+ hash: {
+ local: string;
+ remote: string;
+ };
+ branch: {
+ local: string;
+ remote: string;
+ };
+ message: string;
+ toString(): string;
+}
diff --git a/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts b/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts
new file mode 100644
index 0000000..d70ade5
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts
@@ -0,0 +1,19 @@
+import { StatusResult } from '../../../typings';
+export declare class StatusSummary implements StatusResult {
+ not_added: never[];
+ conflicted: never[];
+ created: never[];
+ deleted: never[];
+ ignored: undefined;
+ modified: never[];
+ renamed: never[];
+ files: never[];
+ staged: never[];
+ ahead: number;
+ behind: number;
+ current: null;
+ tracking: null;
+ detached: boolean;
+ isClean(): boolean;
+}
+export declare const parseStatusSummary: (text: string) => StatusResult;
diff --git a/node_modules/simple-git/src/lib/responses/TagList.d.ts b/node_modules/simple-git/src/lib/responses/TagList.d.ts
new file mode 100644
index 0000000..b72180d
--- /dev/null
+++ b/node_modules/simple-git/src/lib/responses/TagList.d.ts
@@ -0,0 +1,7 @@
+import { TagResult } from '../../../typings';
+export declare class TagList implements TagResult {
+ readonly all: string[];
+ readonly latest: string | undefined;
+ constructor(all: string[], latest: string | undefined);
+}
+export declare const parseTagList: (data: string, customSort?: boolean) => TagList;
diff --git a/node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts b/node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts
new file mode 100644
index 0000000..7e13e09
--- /dev/null
+++ b/node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts
@@ -0,0 +1,25 @@
+import { PluginStore } from '../plugins';
+import { outputHandler, SimpleGitExecutor, SimpleGitTask } from '../types';
+import { Scheduler } from './scheduler';
+export declare class GitExecutorChain implements SimpleGitExecutor {
+ private _executor;
+ private _scheduler;
+ private _plugins;
+ private _chain;
+ private _queue;
+ private _cwd;
+ get binary(): string;
+ get cwd(): string;
+ set cwd(cwd: string);
+ get env(): import("../types").GitExecutorEnv;
+ get outputHandler(): outputHandler | undefined;
+ constructor(_executor: SimpleGitExecutor, _scheduler: Scheduler, _plugins: PluginStore);
+ chain(): this;
+ push<R>(task: SimpleGitTask<R>): Promise<R>;
+ private attemptTask;
+ private onFatalException;
+ private attemptRemoteTask;
+ private attemptEmptyTask;
+ private handleTaskData;
+ private gitResponse;
+}
diff --git a/node_modules/simple-git/src/lib/runners/git-executor.d.ts b/node_modules/simple-git/src/lib/runners/git-executor.d.ts
new file mode 100644
index 0000000..c145af1
--- /dev/null
+++ b/node_modules/simple-git/src/lib/runners/git-executor.d.ts
@@ -0,0 +1,15 @@
+import { PluginStore } from '../plugins';
+import { GitExecutorEnv, outputHandler, SimpleGitExecutor, SimpleGitTask } from '../types';
+import { Scheduler } from './scheduler';
+export declare class GitExecutor implements SimpleGitExecutor {
+ binary: string;
+ cwd: string;
+ private _scheduler;
+ private _plugins;
+ private _chain;
+ env: GitExecutorEnv;
+ outputHandler?: outputHandler;
+ constructor(binary: string, cwd: string, _scheduler: Scheduler, _plugins: PluginStore);
+ chain(): SimpleGitExecutor;
+ push<R>(task: SimpleGitTask<R>): Promise<R>;
+}
diff --git a/node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts b/node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts
new file mode 100644
index 0000000..4f8d694
--- /dev/null
+++ b/node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts
@@ -0,0 +1,2 @@
+import { SimpleGit, SimpleGitOptions } from '../../../typings';
+export declare function gitP(...args: [] | [string] | [Partial<SimpleGitOptions>] | [string, Partial<SimpleGitOptions>]): SimpleGit;
diff --git a/node_modules/simple-git/src/lib/runners/scheduler.d.ts b/node_modules/simple-git/src/lib/runners/scheduler.d.ts
new file mode 100644
index 0000000..847ed31
--- /dev/null
+++ b/node_modules/simple-git/src/lib/runners/scheduler.d.ts
@@ -0,0 +1,11 @@
+declare type ScheduleCompleteCallback = () => void;
+export declare class Scheduler {
+ private concurrency;
+ private logger;
+ private pending;
+ private running;
+ constructor(concurrency?: number);
+ private schedule;
+ next(): Promise<ScheduleCompleteCallback>;
+}
+export {};
diff --git a/node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts b/node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts
new file mode 100644
index 0000000..61d6073
--- /dev/null
+++ b/node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts
@@ -0,0 +1,23 @@
+import { SimpleGitTask } from '../types';
+import { GitError } from '../errors/git-error';
+import { OutputLogger } from '../git-logger';
+declare type AnySimpleGitTask = SimpleGitTask<any>;
+declare type TaskInProgress = {
+ name: string;
+ logger: OutputLogger;
+ task: AnySimpleGitTask;
+};
+export declare class TasksPendingQueue {
+ private logLabel;
+ private _queue;
+ constructor(logLabel?: string);
+ private withProgress;
+ private createProgress;
+ push(task: AnySimpleGitTask): TaskInProgress;
+ fatal(err: GitError): void;
+ complete(task: AnySimpleGitTask): void;
+ attempt(task: AnySimpleGitTask): TaskInProgress;
+ static getName(name?: string): string;
+ private static counter;
+}
+export {};
diff --git a/node_modules/simple-git/src/lib/simple-git-api.d.ts b/node_modules/simple-git/src/lib/simple-git-api.d.ts
new file mode 100644
index 0000000..0fd7761
--- /dev/null
+++ b/node_modules/simple-git/src/lib/simple-git-api.d.ts
@@ -0,0 +1,20 @@
+import { SimpleGitBase } from '../../typings';
+import { outputHandler, SimpleGitExecutor, SimpleGitTask, SimpleGitTaskCallback } from './types';
+export declare class SimpleGitApi implements SimpleGitBase {
+ private _executor;
+ constructor(_executor: SimpleGitExecutor);
+ protected _runTask<T>(task: SimpleGitTask<T>, then?: SimpleGitTaskCallback<T>): any;
+ add(files: string | string[]): any;
+ cwd(directory: string | {
+ path: string;
+ root?: boolean;
+ }): any;
+ hashObject(path: string, write: boolean | unknown): any;
+ init(bare?: boolean | unknown): any;
+ merge(): any;
+ mergeFromTo(remote: string, branch: string): any;
+ outputHandler(handler: outputHandler): this;
+ push(): any;
+ stash(): any;
+ status(): any;
+}
diff --git a/node_modules/simple-git/src/lib/task-callback.d.ts b/node_modules/simple-git/src/lib/task-callback.d.ts
new file mode 100644
index 0000000..dda89af
--- /dev/null
+++ b/node_modules/simple-git/src/lib/task-callback.d.ts
@@ -0,0 +1,2 @@
+import { SimpleGitTask, SimpleGitTaskCallback } from './types';
+export declare function taskCallback<R>(task: SimpleGitTask<R>, response: Promise<R>, callback?: SimpleGitTaskCallback<R>): void;
diff --git a/node_modules/simple-git/src/lib/tasks/apply-patch.d.ts b/node_modules/simple-git/src/lib/tasks/apply-patch.d.ts
new file mode 100644
index 0000000..c1e1551
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/apply-patch.d.ts
@@ -0,0 +1,3 @@
+import { OptionFlags, Options, StringTask } from '../types';
+export declare type ApplyOptions = Options & OptionFlags<'--stat' | '--numstat' | '--summary' | '--check' | '--index' | '--intent-to-add' | '--3way' | '--apply' | '--no-add' | '-R' | '--reverse' | '--allow-binary-replacement' | '--binary' | '--reject' | '-z' | '--inaccurate-eof' | '--recount' | '--cached' | '--ignore-space-change' | '--ignore-whitespace' | '--verbose' | '--unsafe-paths'> & OptionFlags<'--whitespace', 'nowarn' | 'warn' | 'fix' | 'error' | 'error-all'> & OptionFlags<'--build-fake-ancestor' | '--exclude' | '--include' | '--directory', string> & OptionFlags<'-p' | '-C', number>;
+export declare function applyPatchTask(patches: string[], customArgs: string[]): StringTask<string>;
diff --git a/node_modules/simple-git/src/lib/tasks/branch.d.ts b/node_modules/simple-git/src/lib/tasks/branch.d.ts
new file mode 100644
index 0000000..157b2ae
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/branch.d.ts
@@ -0,0 +1,7 @@
+import { BranchMultiDeleteResult, BranchSingleDeleteResult, BranchSummary } from '../../../typings';
+import { StringTask } from '../types';
+export declare function containsDeleteBranchCommand(commands: string[]): boolean;
+export declare function branchTask(customArgs: string[]): StringTask<BranchSummary | BranchSingleDeleteResult>;
+export declare function branchLocalTask(): StringTask<BranchSummary>;
+export declare function deleteBranchesTask(branches: string[], forceDelete?: boolean): StringTask<BranchMultiDeleteResult>;
+export declare function deleteBranchTask(branch: string, forceDelete?: boolean): StringTask<BranchSingleDeleteResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts b/node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts
new file mode 100644
index 0000000..1ad1009
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts
@@ -0,0 +1,2 @@
+import { SimpleGitExecutor } from '../types';
+export declare function changeWorkingDirectoryTask(directory: string, root?: SimpleGitExecutor): import("./task").EmptyTask;
diff --git a/node_modules/simple-git/src/lib/tasks/check-ignore.d.ts b/node_modules/simple-git/src/lib/tasks/check-ignore.d.ts
new file mode 100644
index 0000000..7b34b8d
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/check-ignore.d.ts
@@ -0,0 +1,2 @@
+import { StringTask } from '../types';
+export declare function checkIgnoreTask(paths: string[]): StringTask<string[]>;
diff --git a/node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts b/node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts
new file mode 100644
index 0000000..580846f
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts
@@ -0,0 +1,9 @@
+import { Maybe, StringTask } from '../types';
+export declare enum CheckRepoActions {
+ BARE = "bare",
+ IN_TREE = "tree",
+ IS_REPO_ROOT = "root"
+}
+export declare function checkIsRepoTask(action: Maybe<CheckRepoActions>): StringTask<boolean>;
+export declare function checkIsRepoRootTask(): StringTask<boolean>;
+export declare function checkIsBareRepoTask(): StringTask<boolean>;
diff --git a/node_modules/simple-git/src/lib/tasks/clean.d.ts b/node_modules/simple-git/src/lib/tasks/clean.d.ts
new file mode 100644
index 0000000..c3f7ce7
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/clean.d.ts
@@ -0,0 +1,25 @@
+import { CleanSummary } from '../../../typings';
+import { StringTask } from '../types';
+export declare const CONFIG_ERROR_INTERACTIVE_MODE = "Git clean interactive mode is not supported";
+export declare const CONFIG_ERROR_MODE_REQUIRED = "Git clean mode parameter (\"n\" or \"f\") is required";
+export declare const CONFIG_ERROR_UNKNOWN_OPTION = "Git clean unknown option found in: ";
+/**
+ * All supported option switches available for use in a `git.clean` operation
+ */
+export declare enum CleanOptions {
+ DRY_RUN = "n",
+ FORCE = "f",
+ IGNORED_INCLUDED = "x",
+ IGNORED_ONLY = "X",
+ EXCLUDING = "e",
+ QUIET = "q",
+ RECURSIVE = "d"
+}
+/**
+ * The two modes `git.clean` can run in - one of these must be supplied in order
+ * for the command to not throw a `TaskConfigurationError`
+ */
+export declare type CleanMode = CleanOptions.FORCE | CleanOptions.DRY_RUN;
+export declare function cleanWithOptionsTask(mode: CleanMode | string, customArgs: string[]): import("./task").EmptyTask | StringTask<CleanSummary>;
+export declare function cleanTask(mode: CleanMode, customArgs: string[]): StringTask<CleanSummary>;
+export declare function isCleanOptionsArray(input: string[]): input is CleanOptions[];
diff --git a/node_modules/simple-git/src/lib/tasks/clone.d.ts b/node_modules/simple-git/src/lib/tasks/clone.d.ts
new file mode 100644
index 0000000..2662ece
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/clone.d.ts
@@ -0,0 +1,4 @@
+import { OptionFlags, Options, StringTask } from '../types';
+export declare type CloneOptions = Options & OptionFlags<'--bare' | '--dissociate' | '--mirror' | '--no-checkout' | '--no-remote-submodules' | '--no-shallow-submodules' | '--no-single-branch' | '--no-tags' | '--remote-submodules' | '--single-branch' | '--shallow-submodules' | '--verbose'> & OptionFlags<'--depth' | '-j' | '--jobs', number> & OptionFlags<'--branch' | '--origin' | '--recurse-submodules' | '--separate-git-dir' | '--shallow-exclude' | '--shallow-since' | '--template', string>;
+export declare function cloneTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask<string>;
+export declare function cloneMirrorTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask<string>;
diff --git a/node_modules/simple-git/src/lib/tasks/commit.d.ts b/node_modules/simple-git/src/lib/tasks/commit.d.ts
new file mode 100644
index 0000000..a84d2f5
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/commit.d.ts
@@ -0,0 +1,3 @@
+import { CommitResult } from '../../../typings';
+import { StringTask } from '../types';
+export declare function commitTask(message: string[], files: string[], customArgs: string[]): StringTask<CommitResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/config.d.ts b/node_modules/simple-git/src/lib/tasks/config.d.ts
new file mode 100644
index 0000000..14bc2bb
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/config.d.ts
@@ -0,0 +1,8 @@
+import { SimpleGit } from '../../../typings';
+export declare enum GitConfigScope {
+ system = "system",
+ global = "global",
+ local = "local",
+ worktree = "worktree"
+}
+export default function (): Pick<SimpleGit, 'addConfig' | 'getConfig' | 'listConfig'>;
diff --git a/node_modules/simple-git/src/lib/tasks/diff.d.ts b/node_modules/simple-git/src/lib/tasks/diff.d.ts
new file mode 100644
index 0000000..c1e37aa
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/diff.d.ts
@@ -0,0 +1,3 @@
+import { StringTask } from '../types';
+import { DiffResult } from '../../../typings';
+export declare function diffSummaryTask(customArgs: string[]): StringTask<DiffResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/fetch.d.ts b/node_modules/simple-git/src/lib/tasks/fetch.d.ts
new file mode 100644
index 0000000..db4626d
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/fetch.d.ts
@@ -0,0 +1,3 @@
+import { FetchResult } from '../../../typings';
+import { StringTask } from '../types';
+export declare function fetchTask(remote: string, branch: string, customArgs: string[]): StringTask<FetchResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/grep.d.ts b/node_modules/simple-git/src/lib/tasks/grep.d.ts
new file mode 100644
index 0000000..653159a
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/grep.d.ts
@@ -0,0 +1,12 @@
+import { SimpleGit } from '../../../typings';
+export interface GitGrepQuery extends Iterable<string> {
+ /** Adds one or more terms to be grouped as an "and" to any other terms */
+ and(...and: string[]): this;
+ /** Adds one or more search terms - git.grep will "or" this to other terms */
+ param(...param: string[]): this;
+}
+/**
+ * Creates a new builder for a `git.grep` query with optional params
+ */
+export declare function grepQueryBuilder(...params: string[]): GitGrepQuery;
+export default function (): Pick<SimpleGit, 'grep'>;
diff --git a/node_modules/simple-git/src/lib/tasks/hash-object.d.ts b/node_modules/simple-git/src/lib/tasks/hash-object.d.ts
new file mode 100644
index 0000000..cedf3e0
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/hash-object.d.ts
@@ -0,0 +1,5 @@
+import { StringTask } from '../types';
+/**
+ * Task used by `git.hashObject`
+ */
+export declare function hashObjectTask(filePath: string, write: boolean): StringTask<string>;
diff --git a/node_modules/simple-git/src/lib/tasks/init.d.ts b/node_modules/simple-git/src/lib/tasks/init.d.ts
new file mode 100644
index 0000000..ca7f126
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/init.d.ts
@@ -0,0 +1,3 @@
+import { InitResult } from '../../../typings';
+import { StringTask } from '../types';
+export declare function initTask(bare: boolean | undefined, path: string, customArgs: string[]): StringTask<InitResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/log.d.ts b/node_modules/simple-git/src/lib/tasks/log.d.ts
new file mode 100644
index 0000000..b4ae73f
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/log.d.ts
@@ -0,0 +1,32 @@
+import { Options, StringTask } from '../types';
+import { LogResult, SimpleGit } from '../../../typings';
+export interface DefaultLogFields {
+ hash: string;
+ date: string;
+ message: string;
+ refs: string;
+ body: string;
+ author_name: string;
+ author_email: string;
+}
+export declare type LogOptions<T = DefaultLogFields> = {
+ file?: string;
+ format?: T;
+ from?: string;
+ mailMap?: boolean;
+ maxCount?: number;
+ multiLine?: boolean;
+ splitter?: string;
+ strictDate?: boolean;
+ symmetric?: boolean;
+ to?: string;
+};
+interface ParsedLogOptions {
+ fields: string[];
+ splitter: string;
+ commands: string[];
+}
+export declare function parseLogOptions<T extends Options>(opt?: LogOptions<T>, customArgs?: string[]): ParsedLogOptions;
+export declare function logTask<T>(splitter: string, fields: string[], customArgs: string[]): StringTask<LogResult<T>>;
+export default function (): Pick<SimpleGit, 'log'>;
+export {};
diff --git a/node_modules/simple-git/src/lib/tasks/merge.d.ts b/node_modules/simple-git/src/lib/tasks/merge.d.ts
new file mode 100644
index 0000000..663e80b
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/merge.d.ts
@@ -0,0 +1,4 @@
+import { MergeResult } from '../../../typings';
+import { StringTask } from '../types';
+import { EmptyTask } from './task';
+export declare function mergeTask(customArgs: string[]): EmptyTask | StringTask<MergeResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/move.d.ts b/node_modules/simple-git/src/lib/tasks/move.d.ts
new file mode 100644
index 0000000..75ae9af
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/move.d.ts
@@ -0,0 +1,3 @@
+import { MoveResult } from '../../../typings';
+import { StringTask } from '../types';
+export declare function moveTask(from: string | string[], to: string): StringTask<MoveResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/pull.d.ts b/node_modules/simple-git/src/lib/tasks/pull.d.ts
new file mode 100644
index 0000000..c08062f
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/pull.d.ts
@@ -0,0 +1,3 @@
+import { PullResult } from '../../../typings';
+import { Maybe, StringTask } from '../types';
+export declare function pullTask(remote: Maybe<string>, branch: Maybe<string>, customArgs: string[]): StringTask<PullResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/push.d.ts b/node_modules/simple-git/src/lib/tasks/push.d.ts
new file mode 100644
index 0000000..4d18c71
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/push.d.ts
@@ -0,0 +1,9 @@
+import { PushResult } from '../../../typings';
+import { StringTask } from '../types';
+declare type PushRef = {
+ remote?: string;
+ branch?: string;
+};
+export declare function pushTagsTask(ref: PushRef | undefined, customArgs: string[]): StringTask<PushResult>;
+export declare function pushTask(ref: PushRef | undefined, customArgs: string[]): StringTask<PushResult>;
+export {};
diff --git a/node_modules/simple-git/src/lib/tasks/remote.d.ts b/node_modules/simple-git/src/lib/tasks/remote.d.ts
new file mode 100644
index 0000000..fbaae7a
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/remote.d.ts
@@ -0,0 +1,6 @@
+import { StringTask } from '../types';
+export declare function addRemoteTask(remoteName: string, remoteRepo: string, customArgs?: string[]): StringTask<string>;
+export declare function getRemotesTask(verbose: boolean): StringTask<any>;
+export declare function listRemotesTask(customArgs?: string[]): StringTask<string>;
+export declare function remoteTask(customArgs?: string[]): StringTask<string>;
+export declare function removeRemoteTask(remoteName: string): StringTask<string>;
diff --git a/node_modules/simple-git/src/lib/tasks/reset.d.ts b/node_modules/simple-git/src/lib/tasks/reset.d.ts
new file mode 100644
index 0000000..468fe87
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/reset.d.ts
@@ -0,0 +1,11 @@
+import { Maybe, OptionFlags, Options } from '../types';
+export declare enum ResetMode {
+ MIXED = "mixed",
+ SOFT = "soft",
+ HARD = "hard",
+ MERGE = "merge",
+ KEEP = "keep"
+}
+export declare type ResetOptions = Options & OptionFlags<'-q' | '--quiet' | '--no-quiet' | '--pathspec-from-nul'> & OptionFlags<'--pathspec-from-file', string>;
+export declare function resetTask(mode: Maybe<ResetMode>, customArgs: string[]): import("../types").StringTask<string>;
+export declare function getResetMode(mode: ResetMode | any): Maybe<ResetMode>;
diff --git a/node_modules/simple-git/src/lib/tasks/stash-list.d.ts b/node_modules/simple-git/src/lib/tasks/stash-list.d.ts
new file mode 100644
index 0000000..5bf9a9c
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/stash-list.d.ts
@@ -0,0 +1,3 @@
+import { LogOptions, LogResult } from '../../../typings';
+import { StringTask } from '../types';
+export declare function stashListTask(opt: LogOptions<import("./log").DefaultLogFields> | undefined, customArgs: string[]): StringTask<LogResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/status.d.ts b/node_modules/simple-git/src/lib/tasks/status.d.ts
new file mode 100644
index 0000000..45fec0f
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/status.d.ts
@@ -0,0 +1,3 @@
+import { StatusResult } from '../../../typings';
+import { StringTask } from '../types';
+export declare function statusTask(customArgs: string[]): StringTask<StatusResult>;
diff --git a/node_modules/simple-git/src/lib/tasks/sub-module.d.ts b/node_modules/simple-git/src/lib/tasks/sub-module.d.ts
new file mode 100644
index 0000000..ac4f6f8
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/sub-module.d.ts
@@ -0,0 +1,5 @@
+import { StringTask } from '../types';
+export declare function addSubModuleTask(repo: string, path: string): StringTask<string>;
+export declare function initSubModuleTask(customArgs: string[]): StringTask<string>;
+export declare function subModuleTask(customArgs: string[]): StringTask<string>;
+export declare function updateSubModuleTask(customArgs: string[]): StringTask<string>;
diff --git a/node_modules/simple-git/src/lib/tasks/tag.d.ts b/node_modules/simple-git/src/lib/tasks/tag.d.ts
new file mode 100644
index 0000000..b1dbb31
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/tag.d.ts
@@ -0,0 +1,18 @@
+import { TagResult } from '../../../typings';
+import { StringTask } from '../types';
+/**
+ * Task used by `git.tags`
+ */
+export declare function tagListTask(customArgs?: string[]): StringTask<TagResult>;
+/**
+ * Task used by `git.addTag`
+ */
+export declare function addTagTask(name: string): StringTask<{
+ name: string;
+}>;
+/**
+ * Task used by `git.addTag`
+ */
+export declare function addAnnotatedTagTask(name: string, tagMessage: string): StringTask<{
+ name: string;
+}>;
diff --git a/node_modules/simple-git/src/lib/tasks/task.d.ts b/node_modules/simple-git/src/lib/tasks/task.d.ts
new file mode 100644
index 0000000..9c64e4e
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/task.d.ts
@@ -0,0 +1,14 @@
+import { BufferTask, EmptyTaskParser, SimpleGitTask, StringTask } from '../types';
+export declare const EMPTY_COMMANDS: [];
+export declare type EmptyTask = {
+ commands: typeof EMPTY_COMMANDS;
+ format: 'empty';
+ parser: EmptyTaskParser;
+ onError?: undefined;
+};
+export declare function adhocExecTask(parser: EmptyTaskParser): EmptyTask;
+export declare function configurationErrorTask(error: Error | string): EmptyTask;
+export declare function straightThroughStringTask(commands: string[], trimmed?: boolean): StringTask<string>;
+export declare function straightThroughBufferTask(commands: string[]): BufferTask<any>;
+export declare function isBufferTask<R>(task: SimpleGitTask<R>): task is BufferTask<R>;
+export declare function isEmptyTask<R>(task: SimpleGitTask<R>): task is EmptyTask;
diff --git a/node_modules/simple-git/src/lib/types/handlers.d.ts b/node_modules/simple-git/src/lib/types/handlers.d.ts
new file mode 100644
index 0000000..3a788f3
--- /dev/null
+++ b/node_modules/simple-git/src/lib/types/handlers.d.ts
@@ -0,0 +1,21 @@
+import { GitError } from '../errors/git-error';
+/**
+ * The node-style callback to a task accepts either two arguments with the first as a null
+ * and the second as the data, or just one argument which is an error.
+ */
+export declare type SimpleGitTaskCallback<T = string, E extends GitError = GitError> = (err: E | null, data: T) => void;
+/**
+ * The event data emitted to the progress handler whenever progress detail is received.
+ */
+export interface SimpleGitProgressEvent {
+ /** The underlying method called - push, pull etc */
+ method: string;
+ /** The type of progress being reported, note that any one task may emit many stages - for example `git clone` emits both `receiving` and `resolving` */
+ stage: 'compressing' | 'counting' | 'receiving' | 'resolving' | 'unknown' | 'writing' | string;
+ /** The percent progressed as a number 0 - 100 */
+ progress: number;
+ /** The number of items processed so far */
+ processed: number;
+ /** The total number of items to be processed */
+ total: number;
+}
diff --git a/node_modules/simple-git/src/lib/types/index.d.ts b/node_modules/simple-git/src/lib/types/index.d.ts
new file mode 100644
index 0000000..89b2f00
--- /dev/null
+++ b/node_modules/simple-git/src/lib/types/index.d.ts
@@ -0,0 +1,99 @@
+/// <reference types="node" />
+import { SpawnOptions } from 'child_process';
+import { SimpleGitTask } from './tasks';
+import { SimpleGitProgressEvent } from './handlers';
+export * from './handlers';
+export * from './tasks';
+/**
+ * Most tasks accept custom options as an array of strings as well as the
+ * options object. Unless the task is explicitly documented as such, the
+ * tasks will not accept both formats at the same time, preferring whichever
+ * appears last in the arguments.
+ */
+export declare type TaskOptions<O extends Options = Options> = string[] | O;
+/**
+ * Options supplied in most tasks as an optional trailing object
+ */
+export declare type OptionsValues = null | string | number;
+export declare type Options = Record<string, OptionsValues>;
+export declare type OptionFlags<FLAGS extends string, VALUE = null> = Partial<Record<FLAGS, VALUE>>;
+/**
+ * A function called by the executor immediately after creating a child
+ * process. Allows the calling application to implement custom handling of
+ * the incoming stream of data from the `git`.
+ */
+export declare type outputHandler = (command: string, stdout: NodeJS.ReadableStream, stderr: NodeJS.ReadableStream, args: string[]) => void;
+/**
+ * Environment variables to be passed into the child process.
+ */
+export declare type GitExecutorEnv = NodeJS.ProcessEnv | undefined;
+/**
+ * Public interface of the Executor
+ */
+export interface SimpleGitExecutor {
+ env: GitExecutorEnv;
+ outputHandler?: outputHandler;
+ binary: string;
+ cwd: string;
+ chain(): SimpleGitExecutor;
+ push<R>(task: SimpleGitTask<R>): Promise<R>;
+}
+/**
+ * The resulting output from running the git child process
+ */
+export interface GitExecutorResult {
+ stdOut: Buffer[];
+ stdErr: Buffer[];
+ exitCode: number;
+ rejection: Maybe<Error>;
+}
+export interface SimpleGitPluginConfig {
+ /**
+ * Configures the events that should be used to determine when the unederlying child process has
+ * been terminated.
+ *
+ * Version 2 will default to use `onClose=true, onExit=50` to mean the `close` event will be
+ * used to immediately treat the child process as closed and start using the data from `stdOut`
+ * / `stdErr`, whereas the `exit` event will wait `50ms` before treating the child process
+ * as closed.
+ *
+ * This will be changed in version 3 to use `onClose=true, onExit=false` so that only the
+ * close event is used to determine the termination of the process.
+ */
+ completion: {
+ onClose?: boolean | number;
+ onExit?: boolean | number;
+ };
+ /**
+ * Configures the content of errors thrown by the `simple-git` instance for each task
+ */
+ errors(error: Buffer | Error | undefined, result: Omit<GitExecutorResult, 'rejection'>): Buffer | Error | undefined;
+ /**
+ * Handler to be called with progress events emitted through the progress plugin
+ */
+ progress(data: SimpleGitProgressEvent): void;
+ /**
+ * Configuration for the `timeoutPlugin`
+ */
+ timeout: {
+ /**
+ * The number of milliseconds to wait after spawning the process / receiving
+ * content on the stdOut/stdErr streams before forcibly closing the git process.
+ */
+ block: number;
+ };
+ spawnOptions: Pick<SpawnOptions, 'uid' | 'gid'>;
+}
+/**
+ * Optional configuration settings to be passed to the `simpleGit`
+ * builder.
+ */
+export interface SimpleGitOptions extends Partial<SimpleGitPluginConfig> {
+ baseDir: string;
+ binary: string;
+ maxConcurrentProcesses: number;
+ config: string[];
+}
+export declare type Maybe<T> = T | undefined;
+export declare type MaybeArray<T> = T | T[];
+export declare type Primitives = string | number | boolean;
diff --git a/node_modules/simple-git/src/lib/types/tasks.d.ts b/node_modules/simple-git/src/lib/types/tasks.d.ts
new file mode 100644
index 0000000..db96d18
--- /dev/null
+++ b/node_modules/simple-git/src/lib/types/tasks.d.ts
@@ -0,0 +1,20 @@
+/// <reference types="node" />
+import { GitExecutorResult, SimpleGitExecutor } from './index';
+import { EmptyTask } from '../tasks/task';
+export declare type TaskResponseFormat = Buffer | string;
+export interface TaskParser<INPUT extends TaskResponseFormat, RESPONSE> {
+ (stdOut: INPUT, stdErr: INPUT): RESPONSE;
+}
+export interface EmptyTaskParser {
+ (executor: SimpleGitExecutor): void;
+}
+export interface SimpleGitTaskConfiguration<RESPONSE, FORMAT, INPUT extends TaskResponseFormat> {
+ commands: string[];
+ format: FORMAT;
+ parser: TaskParser<INPUT, RESPONSE>;
+ onError?: (result: GitExecutorResult, error: Error, done: (result: Buffer | Buffer[]) => void, fail: (error: string | Error) => void) => void;
+}
+export declare type StringTask<R> = SimpleGitTaskConfiguration<R, 'utf-8', string>;
+export declare type BufferTask<R> = SimpleGitTaskConfiguration<R, 'buffer', Buffer>;
+export declare type RunnableTask<R> = StringTask<R> | BufferTask<R>;
+export declare type SimpleGitTask<R> = RunnableTask<R> | EmptyTask;
diff --git a/node_modules/simple-git/src/lib/utils/argument-filters.d.ts b/node_modules/simple-git/src/lib/utils/argument-filters.d.ts
new file mode 100644
index 0000000..6be6925
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/argument-filters.d.ts
@@ -0,0 +1,16 @@
+import { Options, Primitives } from '../types';
+export interface ArgumentFilterPredicate<T> {
+ (input: any): input is T;
+}
+export declare function filterType<T, K>(input: K, filter: ArgumentFilterPredicate<T>): K extends T ? T : undefined;
+export declare function filterType<T, K>(input: K, filter: ArgumentFilterPredicate<T>, def: T): T;
+export declare const filterArray: ArgumentFilterPredicate<Array<any>>;
+export declare function filterPrimitives(input: unknown, omit?: Array<'boolean' | 'string' | 'number'>): input is Primitives;
+export declare const filterString: ArgumentFilterPredicate<string>;
+export declare const filterStringArray: ArgumentFilterPredicate<string[]>;
+export declare const filterStringOrStringArray: ArgumentFilterPredicate<string | string[]>;
+export declare function filterPlainObject<T extends Options>(input: T | unknown): input is T;
+export declare function filterFunction(input: unknown): input is Function;
+export declare const filterHasLength: ArgumentFilterPredicate<{
+ length: number;
+}>;
diff --git a/node_modules/simple-git/src/lib/utils/exit-codes.d.ts b/node_modules/simple-git/src/lib/utils/exit-codes.d.ts
new file mode 100644
index 0000000..1c389c7
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/exit-codes.d.ts
@@ -0,0 +1,9 @@
+/**
+ * Known process exit codes used by the task parsers to determine whether an error
+ * was one they can automatically handle
+ */
+export declare enum ExitCodes {
+ SUCCESS = 0,
+ ERROR = 1,
+ UNCLEAN = 128
+}
diff --git a/node_modules/simple-git/src/lib/utils/git-output-streams.d.ts b/node_modules/simple-git/src/lib/utils/git-output-streams.d.ts
new file mode 100644
index 0000000..72db466
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/git-output-streams.d.ts
@@ -0,0 +1,8 @@
+/// <reference types="node" />
+import { TaskResponseFormat } from '../types';
+export declare class GitOutputStreams<T extends TaskResponseFormat = Buffer> {
+ readonly stdOut: T;
+ readonly stdErr: T;
+ constructor(stdOut: T, stdErr: T);
+ asStrings(): GitOutputStreams<string>;
+}
diff --git a/node_modules/simple-git/src/lib/utils/index.d.ts b/node_modules/simple-git/src/lib/utils/index.d.ts
new file mode 100644
index 0000000..04cb604
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/index.d.ts
@@ -0,0 +1,8 @@
+export * from './argument-filters';
+export * from './exit-codes';
+export * from './git-output-streams';
+export * from './line-parser';
+export * from './simple-git-options';
+export * from './task-options';
+export * from './task-parser';
+export * from './util';
diff --git a/node_modules/simple-git/src/lib/utils/line-parser.d.ts b/node_modules/simple-git/src/lib/utils/line-parser.d.ts
new file mode 100644
index 0000000..c50560a
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/line-parser.d.ts
@@ -0,0 +1,15 @@
+export declare class LineParser<T> {
+ protected matches: string[];
+ private _regExp;
+ constructor(regExp: RegExp | RegExp[], useMatches?: (target: T, match: string[]) => boolean | void);
+ parse: (line: (offset: number) => (string | undefined), target: T) => boolean;
+ protected useMatches(target: T, match: string[]): boolean | void;
+ protected resetMatches(): void;
+ protected prepareMatches(): string[];
+ protected addMatch(reg: RegExp, index: number, line?: string): boolean;
+ protected pushMatch(_index: number, matched: string[]): void;
+}
+export declare class RemoteLineParser<T> extends LineParser<T> {
+ protected addMatch(reg: RegExp, index: number, line?: string): boolean;
+ protected pushMatch(index: number, matched: string[]): void;
+}
diff --git a/node_modules/simple-git/src/lib/utils/simple-git-options.d.ts b/node_modules/simple-git/src/lib/utils/simple-git-options.d.ts
new file mode 100644
index 0000000..552d68d
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/simple-git-options.d.ts
@@ -0,0 +1,2 @@
+import { SimpleGitOptions } from '../types';
+export declare function createInstanceConfig(...options: Array<Partial<SimpleGitOptions> | undefined>): SimpleGitOptions;
diff --git a/node_modules/simple-git/src/lib/utils/task-options.d.ts b/node_modules/simple-git/src/lib/utils/task-options.d.ts
new file mode 100644
index 0000000..23d3705
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/task-options.d.ts
@@ -0,0 +1,13 @@
+import { Maybe, Options } from '../types';
+export declare function appendTaskOptions<T extends Options = Options>(options: Maybe<T>, commands?: string[]): string[];
+export declare function getTrailingOptions(args: IArguments, initialPrimitive?: number, objectOnly?: boolean): string[];
+/**
+ * Given any number of arguments, returns the trailing options argument, ignoring a trailing function argument
+ * if there is one. When not found, the return value is null.
+ */
+export declare function trailingOptionsArgument(args: IArguments): Maybe<Options>;
+/**
+ * Returns either the source argument when it is a `Function`, or the default
+ * `NOOP` function constant
+ */
+export declare function trailingFunctionArgument(args: unknown[] | IArguments | unknown, includeNoop?: boolean): Maybe<(...args: any[]) => unknown>;
diff --git a/node_modules/simple-git/src/lib/utils/task-parser.d.ts b/node_modules/simple-git/src/lib/utils/task-parser.d.ts
new file mode 100644
index 0000000..5734495
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/task-parser.d.ts
@@ -0,0 +1,5 @@
+import { TaskParser, TaskResponseFormat } from '../types';
+import { GitOutputStreams } from './git-output-streams';
+import { LineParser } from './line-parser';
+export declare function callTaskParser<INPUT extends TaskResponseFormat, RESPONSE>(parser: TaskParser<INPUT, RESPONSE>, streams: GitOutputStreams<INPUT>): RESPONSE;
+export declare function parseStringResponse<T>(result: T, parsers: LineParser<T>[], ...texts: string[]): T;
diff --git a/node_modules/simple-git/src/lib/utils/util.d.ts b/node_modules/simple-git/src/lib/utils/util.d.ts
new file mode 100644
index 0000000..5f0b543
--- /dev/null
+++ b/node_modules/simple-git/src/lib/utils/util.d.ts
@@ -0,0 +1,45 @@
+/// <reference types="node" />
+import { Maybe } from '../types';
+export declare const NULL = "\0";
+export declare const NOOP: (...args: any[]) => void;
+/**
+ * Returns either the source argument when it is a `Function`, or the default
+ * `NOOP` function constant
+ */
+export declare function asFunction<T extends () => any>(source: T | any): T;
+/**
+ * Determines whether the supplied argument is both a function, and is not
+ * the `NOOP` function.
+ */
+export declare function isUserFunction<T extends Function>(source: T | any): source is T;
+export declare function splitOn(input: string, char: string): [string, string];
+export declare function first<T extends any[]>(input: T, offset?: number): Maybe<T[number]>;
+export declare function first<T extends IArguments>(input: T, offset?: number): Maybe<unknown>;
+export declare function last<T extends any[]>(input: T, offset?: number): Maybe<T[number]>;
+export declare function last<T extends IArguments>(input: T, offset?: number): Maybe<unknown>;
+export declare function last<T>(input: T, offset?: number): Maybe<unknown>;
+export declare function toLinesWithContent(input?: string, trimmed?: boolean, separator?: string): string[];
+declare type LineWithContentCallback<T = void> = (line: string) => T;
+export declare function forEachLineWithContent<T>(input: string, callback: LineWithContentCallback<T>): T[];
+export declare function folderExists(path: string): boolean;
+/**
+ * Adds `item` into the `target` `Array` or `Set` when it is not already present and returns the `item`.
+ */
+export declare function append<T>(target: T[] | Set<T>, item: T): typeof item;
+/**
+ * Adds `item` into the `target` `Array` when it is not already present and returns the `target`.
+ */
+export declare function including<T>(target: T[], item: T): typeof target;
+export declare function remove<T>(target: Set<T> | T[], item: T): T;
+export declare const objectToString: (input: any) => string;
+export declare function asArray<T>(source: T | T[]): T[];
+export declare function asStringArray<T>(source: T | T[]): string[];
+export declare function asNumber(source: string | null | undefined, onNaN?: number): number;
+export declare function prefixedArray<T>(input: T[], prefix: T): T[];
+export declare function bufferToString(input: Buffer | Buffer[]): string;
+/**
+ * Get a new object from a source object with only the listed properties.
+ */
+export declare function pick(source: Record<string, any>, properties: string[]): any;
+export declare function delay(duration?: number): Promise<void>;
+export {};