diff options
author | Minteck <contact@minteck.org> | 2022-02-12 10:33:06 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-12 10:33:06 +0100 |
commit | 01160246e4a0c0052181c72a53737e356ea7d02d (patch) | |
tree | c6f8ea675f9147d4c06ef503697fb35d58493991 /node_modules/simple-git/src/lib/parsers | |
parent | af898a152a14e31bdbcbbedb952ad333697553ef (diff) | |
download | twilight-01160246e4a0c0052181c72a53737e356ea7d02d.tar.gz twilight-01160246e4a0c0052181c72a53737e356ea7d02d.tar.bz2 twilight-01160246e4a0c0052181c72a53737e356ea7d02d.zip |
First commit
Diffstat (limited to 'node_modules/simple-git/src/lib/parsers')
12 files changed, 49 insertions, 0 deletions
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>>[]; |