@osdlc/typed-git 0.5.0 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +83 -36
- package/LICENSE-APACHE +202 -0
- package/README.md +133 -30
- package/async.ts +109 -32
- package/backend.ts +57 -12
- package/client.ts +18 -8
- package/dist/async.d.ts +59 -23
- package/dist/async.d.ts.map +1 -1
- package/dist/async.js +87 -29
- package/dist/backend.d.ts +50 -9
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js +25 -3
- package/dist/client.d.ts +10 -7
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/outcome.d.ts +6 -1
- package/dist/outcome.d.ts.map +1 -1
- package/dist/remote-url.d.ts +3 -0
- package/dist/remote-url.d.ts.map +1 -1
- package/dist/remote-url.js +3 -0
- package/dist/soft.d.ts +7 -1
- package/dist/soft.d.ts.map +1 -1
- package/dist/soft.js +7 -1
- package/dist/sync.d.ts +74 -24
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +99 -28
- package/dist/testing.d.ts +54 -26
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +11 -4
- package/dist/verbs.d.ts +163 -41
- package/dist/verbs.d.ts.map +1 -1
- package/dist/verbs.js +342 -83
- package/index.ts +2 -2
- package/outcome.ts +13 -5
- package/package.json +11 -6
- package/remote-url.ts +3 -0
- package/soft.ts +7 -1
- package/sync.ts +114 -31
- package/testing.ts +64 -32
- package/verbs.ts +427 -103
- /package/{LICENSE → LICENSE-MIT} +0 -0
package/backend.ts
CHANGED
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
* It also means a request can be logged, queued, or replayed as data. The one
|
|
12
12
|
* request that cannot cross that line is `raw`, which is argv by definition; a
|
|
13
13
|
* non-CLI backend rejects it with {@link UnsupportedRequest}.
|
|
14
|
+
*
|
|
15
|
+
* The seam is experimental: `GitBackend`, `GitRequest`, `GitResults` and
|
|
16
|
+
* `partialBackend`. Each new verb adds a request kind, which breaks a backend
|
|
17
|
+
* written as an exhaustive switch. Such a change can land in a minor release.
|
|
18
|
+
* `cliBackend` and `AsyncGit` are stable.
|
|
14
19
|
*/
|
|
15
20
|
|
|
16
21
|
import {
|
|
@@ -30,12 +35,14 @@ import {
|
|
|
30
35
|
type CheckoutOptions,
|
|
31
36
|
type CloneOptions,
|
|
32
37
|
type CommitOptions,
|
|
38
|
+
type ConfigGetOptions,
|
|
33
39
|
type ConfigSetOptions,
|
|
34
40
|
type ConflictSide,
|
|
35
41
|
type DiffEntry,
|
|
36
42
|
type DiffNameOnlyOptions,
|
|
37
43
|
type DiffStatOptions,
|
|
38
44
|
type DiffNameStatusOptions,
|
|
45
|
+
type DiffTextOptions,
|
|
39
46
|
type DiffTreeOptions,
|
|
40
47
|
type FetchOptions,
|
|
41
48
|
type ForEachRefOptions,
|
|
@@ -55,6 +62,7 @@ import {
|
|
|
55
62
|
type NumstatEntry,
|
|
56
63
|
type RebaseOptions,
|
|
57
64
|
type RebaseOutcome,
|
|
65
|
+
type RemoteGetUrlOptions,
|
|
58
66
|
type RemoteRef,
|
|
59
67
|
type CleanOptions,
|
|
60
68
|
type DiffCheckOptions,
|
|
@@ -86,6 +94,14 @@ export interface GitCallOptions {
|
|
|
86
94
|
* invocation runs, not what operation was asked for.
|
|
87
95
|
*/
|
|
88
96
|
env?: Record<string, string> | undefined
|
|
97
|
+
/**
|
|
98
|
+
* Cap on each output stream, in bytes. Past it the runner kills the child
|
|
99
|
+
* and the call throws (sync) or rejects (async) with `CommandFailed`, so
|
|
100
|
+
* cut-short output is never read as an answer. A backend that cannot
|
|
101
|
+
* enforce it may ignore it. Without it the async runner has no cap and the
|
|
102
|
+
* sync runner caps at 256 MB.
|
|
103
|
+
*/
|
|
104
|
+
maxOutputBytes?: number | undefined
|
|
89
105
|
}
|
|
90
106
|
|
|
91
107
|
/**
|
|
@@ -95,6 +111,8 @@ export interface GitCallOptions {
|
|
|
95
111
|
* is normally built by spreading a caller's options, and under
|
|
96
112
|
* `exactOptionalPropertyTypes` a present-but-undefined property is not the
|
|
97
113
|
* same as an absent one. Both mean "not given" here.
|
|
114
|
+
*
|
|
115
|
+
* @experimental Each new verb adds a kind, in a minor release.
|
|
98
116
|
*/
|
|
99
117
|
export type GitRequest =
|
|
100
118
|
| { kind: 'showAtRev'; rev: string; relPath: string }
|
|
@@ -106,6 +124,7 @@ export type GitRequest =
|
|
|
106
124
|
// non-repository is an answer (`null`), and for `revParse` it is a failure.
|
|
107
125
|
| { kind: 'topLevel' }
|
|
108
126
|
| { kind: 'gitCommonDir' }
|
|
127
|
+
| { kind: 'gitDir' }
|
|
109
128
|
| { kind: 'symbolicRef'; ref: string }
|
|
110
129
|
| { kind: 'currentBranch' }
|
|
111
130
|
| ({ kind: 'statusPorcelain' } & StatusPorcelainOptions)
|
|
@@ -114,7 +133,9 @@ export type GitRequest =
|
|
|
114
133
|
| { kind: 'worktrees' }
|
|
115
134
|
| { kind: 'mergeBase'; a: string; b: string }
|
|
116
135
|
| { kind: 'logSubject'; ref: string }
|
|
117
|
-
| { kind: 'configGet'; key: string }
|
|
136
|
+
| ({ kind: 'configGet'; key: string } & ConfigGetOptions)
|
|
137
|
+
| ({ kind: 'configGetAll'; key: string } & ConfigGetOptions)
|
|
138
|
+
| ({ kind: 'configGetBool'; key: string } & ConfigGetOptions)
|
|
118
139
|
| { kind: 'objectExists'; rev: string }
|
|
119
140
|
| ({ kind: 'lsRemote'; remote: string; pattern?: string | undefined } & LsRemoteOptions)
|
|
120
141
|
| { kind: 'checkIgnore'; relPaths: string[] }
|
|
@@ -136,12 +157,7 @@ export type GitRequest =
|
|
|
136
157
|
| ({ kind: 'diffTree'; rev: string } & DiffTreeOptions)
|
|
137
158
|
| ({ kind: 'diffTreeNumstat'; rev: string } & DiffTreeOptions)
|
|
138
159
|
| ({ kind: 'grep'; pattern: string } & GrepOptions)
|
|
139
|
-
| {
|
|
140
|
-
kind: 'diffText'
|
|
141
|
-
rev?: string | undefined
|
|
142
|
-
staged?: boolean | undefined
|
|
143
|
-
paths?: string[] | undefined
|
|
144
|
-
}
|
|
160
|
+
| ({ kind: 'diffText'; rev?: string | undefined } & DiffTextOptions)
|
|
145
161
|
| { kind: 'diffAddedFile'; relPath: string }
|
|
146
162
|
| ({
|
|
147
163
|
kind: 'fetch'
|
|
@@ -184,11 +200,17 @@ export type GitRequest =
|
|
|
184
200
|
| { kind: 'checkoutSide'; side: ConflictSide; paths: string[] }
|
|
185
201
|
| ({ kind: 'checkout'; ref: string } & CheckoutOptions)
|
|
186
202
|
| { kind: 'remote' }
|
|
187
|
-
| { kind: 'remoteGetUrl'; name: string }
|
|
203
|
+
| ({ kind: 'remoteGetUrl'; name: string } & RemoteGetUrlOptions)
|
|
204
|
+
| ({ kind: 'remoteGetUrls'; name: string } & RemoteGetUrlOptions)
|
|
205
|
+
| { kind: 'remoteHead'; remote: string }
|
|
188
206
|
| { kind: 'remoteAdd'; name: string; url: string }
|
|
189
207
|
| { kind: 'raw'; argv: string[]; input?: string | undefined; checked?: boolean | undefined }
|
|
190
208
|
|
|
191
|
-
/**
|
|
209
|
+
/**
|
|
210
|
+
* The result type each request kind resolves to.
|
|
211
|
+
*
|
|
212
|
+
* @experimental It grows with {@link GitRequest}.
|
|
213
|
+
*/
|
|
192
214
|
export interface GitResults {
|
|
193
215
|
showAtRev: string | null
|
|
194
216
|
revParse: string | null
|
|
@@ -196,6 +218,7 @@ export interface GitResults {
|
|
|
196
218
|
headRef: string | null
|
|
197
219
|
topLevel: string | null
|
|
198
220
|
gitCommonDir: string | null
|
|
221
|
+
gitDir: string | null
|
|
199
222
|
symbolicRef: string | null
|
|
200
223
|
currentBranch: string | null
|
|
201
224
|
statusPorcelain: string[]
|
|
@@ -205,6 +228,8 @@ export interface GitResults {
|
|
|
205
228
|
mergeBase: string | null
|
|
206
229
|
logSubject: string | null
|
|
207
230
|
configGet: string | null
|
|
231
|
+
configGetAll: string[]
|
|
232
|
+
configGetBool: boolean | null
|
|
208
233
|
objectExists: boolean
|
|
209
234
|
lsRemote: RemoteRef[]
|
|
210
235
|
checkIgnore: Set<string>
|
|
@@ -252,6 +277,8 @@ export interface GitResults {
|
|
|
252
277
|
checkout: void
|
|
253
278
|
remote: string[]
|
|
254
279
|
remoteGetUrl: string | null
|
|
280
|
+
remoteGetUrls: string[]
|
|
281
|
+
remoteHead: string | null
|
|
255
282
|
remoteAdd: void
|
|
256
283
|
raw: CommandResult
|
|
257
284
|
}
|
|
@@ -267,6 +294,9 @@ export type GitRequestKind = GitRequest['kind']
|
|
|
267
294
|
* `[]`, `false`) for a state the verb declares absent, such as an unset
|
|
268
295
|
* config key. It rejects with `CommandFailed` — or whatever error the backend
|
|
269
296
|
* considers equivalent — when git failed rather than answered.
|
|
297
|
+
*
|
|
298
|
+
* @experimental New request kinds land in minor releases. Use
|
|
299
|
+
* {@link partialBackend} rather than an exhaustive switch.
|
|
270
300
|
*/
|
|
271
301
|
export interface GitBackend {
|
|
272
302
|
execute<R extends GitRequest>(
|
|
@@ -301,6 +331,8 @@ function toVerb(request: GitRequest): GitVerb<unknown> {
|
|
|
301
331
|
return v.topLevel()
|
|
302
332
|
case 'gitCommonDir':
|
|
303
333
|
return v.gitCommonDir()
|
|
334
|
+
case 'gitDir':
|
|
335
|
+
return v.gitDir()
|
|
304
336
|
case 'symbolicRef':
|
|
305
337
|
return v.symbolicRef(request.ref)
|
|
306
338
|
case 'currentBranch':
|
|
@@ -318,7 +350,11 @@ function toVerb(request: GitRequest): GitVerb<unknown> {
|
|
|
318
350
|
case 'logSubject':
|
|
319
351
|
return v.logSubject(request.ref)
|
|
320
352
|
case 'configGet':
|
|
321
|
-
return v.configGet(request.key)
|
|
353
|
+
return v.configGet(request.key, request)
|
|
354
|
+
case 'configGetAll':
|
|
355
|
+
return v.configGetAll(request.key, request)
|
|
356
|
+
case 'configGetBool':
|
|
357
|
+
return v.configGetBool(request.key, request)
|
|
322
358
|
case 'objectExists':
|
|
323
359
|
return v.objectExists(request.rev)
|
|
324
360
|
case 'lsRemote':
|
|
@@ -356,7 +392,7 @@ function toVerb(request: GitRequest): GitVerb<unknown> {
|
|
|
356
392
|
case 'grep':
|
|
357
393
|
return v.grep(request.pattern, request)
|
|
358
394
|
case 'diffText':
|
|
359
|
-
return v.diffText(request.rev,
|
|
395
|
+
return v.diffText(request.rev, request)
|
|
360
396
|
case 'diffAddedFile':
|
|
361
397
|
return v.diffAddedFile(request.relPath)
|
|
362
398
|
case 'fetch':
|
|
@@ -414,7 +450,11 @@ function toVerb(request: GitRequest): GitVerb<unknown> {
|
|
|
414
450
|
case 'remote':
|
|
415
451
|
return v.remote()
|
|
416
452
|
case 'remoteGetUrl':
|
|
417
|
-
return v.remoteGetUrl(request.name)
|
|
453
|
+
return v.remoteGetUrl(request.name, request)
|
|
454
|
+
case 'remoteGetUrls':
|
|
455
|
+
return v.remoteGetUrls(request.name, request)
|
|
456
|
+
case 'remoteHead':
|
|
457
|
+
return v.remoteHead(request.remote)
|
|
418
458
|
case 'remoteAdd':
|
|
419
459
|
return v.remoteAdd(request.name, request.url)
|
|
420
460
|
case 'raw': {
|
|
@@ -469,10 +509,13 @@ export function cliBackend(
|
|
|
469
509
|
const runOpts: AsyncCommandRunOptions = { cwd }
|
|
470
510
|
if (callOpts.timeoutMs !== undefined) runOpts.timeoutMs = callOpts.timeoutMs
|
|
471
511
|
if (callOpts.signal !== undefined) runOpts.signal = callOpts.signal
|
|
512
|
+
if (callOpts.maxOutputBytes !== undefined) runOpts.maxOutputBytes = callOpts.maxOutputBytes
|
|
472
513
|
// Per-call entries win over the backend's, matching `Git`.
|
|
473
514
|
const env = mergeEnv(opts.env, callOpts.env)
|
|
474
515
|
if (env !== undefined) runOpts.env = env
|
|
475
516
|
if (verb.input !== undefined) runOpts.input = verb.input
|
|
517
|
+
// The verb's own entries (the C locale) win over the backend's and the call's.
|
|
518
|
+
if (verb.env !== undefined) runOpts.env = { ...runOpts.env, ...verb.env }
|
|
476
519
|
const argv = prefix.length === 0 ? verb.argv : [...prefix, ...verb.argv]
|
|
477
520
|
const result = await runner.run(argv, runOpts)
|
|
478
521
|
// Unchecked `raw` is the one door outside the gate: it hands back
|
|
@@ -494,6 +537,8 @@ export function cliBackend(
|
|
|
494
537
|
* rejects with {@link UnsupportedRequest} instead of failing as `undefined`.
|
|
495
538
|
* The way to ship a backend that covers the operations it can and says so
|
|
496
539
|
* about the rest.
|
|
540
|
+
*
|
|
541
|
+
* @experimental Part of the backend seam; see {@link GitBackend}.
|
|
497
542
|
*/
|
|
498
543
|
export function partialBackend(
|
|
499
544
|
name: string,
|
package/client.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* `@osdlc/typed-git/client` — the git clients and their seams, without the
|
|
3
|
-
* git-reference
|
|
3
|
+
* git-reference parsers and the checkout walks.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* The package entry minus two groups. The first is `parseGitUrl`,
|
|
6
|
+
* `gitSshUrl`, `parseRepoRef` and their types, which pull in
|
|
7
|
+
* `hosted-git-info`. The second is the checkout walks: `checkoutRoot`,
|
|
8
|
+
* `discoverCheckouts`, `scanForCheckouts`, their types and their defaults. A
|
|
9
|
+
* consumer that only drives git — a runner discovery pass, a guard script —
|
|
10
|
+
* imports from here and keeps `hosted-git-info` off its module graph. It stays
|
|
11
|
+
* in `dependencies` either way, so this is a bundle saving, not an install
|
|
12
|
+
* one.
|
|
10
13
|
*
|
|
11
14
|
* The package entry is defined as this module plus the URL exports, so there
|
|
12
15
|
* is one definition of the surface rather than two lists to keep in step.
|
|
@@ -31,25 +34,30 @@ export { type GitOutcome, type Soft, type TriedAsync, type TriedSync } from './o
|
|
|
31
34
|
|
|
32
35
|
export {
|
|
33
36
|
forceWithLeaseArg,
|
|
34
|
-
gate,
|
|
35
37
|
parseRefRows,
|
|
36
38
|
REF_FORMAT,
|
|
37
39
|
type AddOptions,
|
|
38
40
|
type AheadBehind,
|
|
39
41
|
type CheckoutOptions,
|
|
42
|
+
type CleanOptions,
|
|
40
43
|
type CloneOptions,
|
|
44
|
+
type CommitFlags,
|
|
41
45
|
type CommitOptions,
|
|
46
|
+
type ConfigGetOptions,
|
|
47
|
+
type ConfigScope,
|
|
42
48
|
type ConfigSetOptions,
|
|
43
49
|
type ConflictSide,
|
|
50
|
+
type DiffCheckOptions,
|
|
51
|
+
type DiffCheckResult,
|
|
44
52
|
type DiffEntry,
|
|
45
53
|
type DiffNameOnlyOptions,
|
|
46
54
|
type DiffNameStatusOptions,
|
|
47
55
|
type DiffStatOptions,
|
|
56
|
+
type DiffTextOptions,
|
|
48
57
|
type DiffTreeOptions,
|
|
49
58
|
type FetchOptions,
|
|
50
59
|
type ForEachRefOptions,
|
|
51
60
|
type ForceLease,
|
|
52
|
-
type GitVerb,
|
|
53
61
|
type GrepOptions,
|
|
54
62
|
type InitOptions,
|
|
55
63
|
type IntegrationOutcome,
|
|
@@ -65,7 +73,9 @@ export {
|
|
|
65
73
|
type NumstatEntry,
|
|
66
74
|
type RebaseOptions,
|
|
67
75
|
type RebaseOutcome,
|
|
76
|
+
type RemoteGetUrlOptions,
|
|
68
77
|
type RemoteRef,
|
|
78
|
+
type StatusEntry,
|
|
69
79
|
type StatusPorcelainOptions,
|
|
70
80
|
type TaggedFile,
|
|
71
81
|
type TreeEntry,
|
package/dist/async.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import type { CommandResult } from '@osdlc/command-seam';
|
|
|
17
17
|
import { type GitBackend, type GitCallOptions } from './backend.ts';
|
|
18
18
|
import { type Soft, type TriedAsync } from './outcome.ts';
|
|
19
19
|
import { type RemoteCoordinate } from './remote-url.ts';
|
|
20
|
-
import { type AddOptions, type AheadBehind, type CommitOptions, type CheckoutOptions, type CloneOptions, type ConflictSide, type MergeOptions, type MergeOutcome, type MergeTreeOptions, type MergeTreeOutcome, type RebaseOptions, type RebaseOutcome, type TaggedFile, type UnmergedEntry, type ConfigSetOptions, type DiffEntry, type DiffNameOnlyOptions, type DiffStatOptions, type DiffNameStatusOptions, type DiffTreeOptions, type FetchOptions, type ForEachRefOptions, type ForceLease, type GrepOptions, type InitOptions, type LogOptions, type IgnoreMatch, type LsFilesOptions, type LsRemoteOptions, type LsTreeOptions, type NumstatEntry, type RemoteRef, type CleanOptions, type DiffCheckOptions, type DiffCheckResult, type StatusEntry, type StatusPorcelainOptions, type TreeEntry, type Worktree, type WorktreeMoveOptions } from './verbs.ts';
|
|
20
|
+
import { type AddOptions, type AheadBehind, type CommitOptions, type CheckoutOptions, type ConfigGetOptions, type CloneOptions, type ConflictSide, type MergeOptions, type MergeOutcome, type MergeTreeOptions, type MergeTreeOutcome, type RebaseOptions, type RebaseOutcome, type RemoteGetUrlOptions, type TaggedFile, type UnmergedEntry, type ConfigSetOptions, type DiffEntry, type DiffNameOnlyOptions, type DiffStatOptions, type DiffNameStatusOptions, type DiffTextOptions, type DiffTreeOptions, type FetchOptions, type ForEachRefOptions, type ForceLease, type GrepOptions, type InitOptions, type LogOptions, type IgnoreMatch, type LsFilesOptions, type LsRemoteOptions, type LsTreeOptions, type NumstatEntry, type RemoteRef, type CleanOptions, type DiffCheckOptions, type DiffCheckResult, type StatusEntry, type StatusPorcelainOptions, type TreeEntry, type Worktree, type WorktreeMoveOptions } from './verbs.ts';
|
|
21
21
|
/** A typed, awaitable git client bound to one working directory. */
|
|
22
22
|
export declare class AsyncGit {
|
|
23
23
|
readonly cwd: string;
|
|
@@ -69,16 +69,19 @@ export declare class AsyncGit {
|
|
|
69
69
|
}): Promise<CommandResult>;
|
|
70
70
|
/**
|
|
71
71
|
* Checked argv passthrough — rejects with `CommandFailed` on a non-zero
|
|
72
|
-
* exit
|
|
73
|
-
* {@link Git.rawChecked}.
|
|
72
|
+
* exit, and on output cut short at the output cap or a timeout. Report
|
|
73
|
+
* `e.detail`, which joins both streams; see {@link Git.rawChecked}.
|
|
74
74
|
*/
|
|
75
75
|
rawChecked(argv: string[], opts?: GitCallOptions & {
|
|
76
76
|
input?: string | undefined;
|
|
77
77
|
}): Promise<CommandResult>;
|
|
78
78
|
/** A file's content at a rev, null if absent. */
|
|
79
79
|
showAtRev(rev: string, relPath: string, opts?: GitCallOptions): Promise<string | null>;
|
|
80
|
-
/**
|
|
81
|
-
|
|
80
|
+
/**
|
|
81
|
+
* See {@link Git.revParse}. Call options go last, as an object. For a ref,
|
|
82
|
+
* prefer {@link AsyncGit.resolveRef}.
|
|
83
|
+
*/
|
|
84
|
+
revParse(...args: string[] | [...string[], GitCallOptions]): Promise<string | null>;
|
|
82
85
|
/** The sha `ref` resolves to, or null. See {@link Git.resolveRef}. */
|
|
83
86
|
resolveRef(ref: string, opts?: GitCallOptions): Promise<string | null>;
|
|
84
87
|
/** True iff this repository has any history. See {@link Git.hasHistory}. */
|
|
@@ -92,6 +95,11 @@ export declare class AsyncGit {
|
|
|
92
95
|
* outside a repo. See {@link Git.gitCommonDir}.
|
|
93
96
|
*/
|
|
94
97
|
gitCommonDir(opts?: GitCallOptions): Promise<string | null>;
|
|
98
|
+
/**
|
|
99
|
+
* This worktree's own `.git` dir as an absolute path, or null outside a
|
|
100
|
+
* repo. See {@link Git.gitDir}.
|
|
101
|
+
*/
|
|
102
|
+
gitDir(opts?: GitCallOptions): Promise<string | null>;
|
|
95
103
|
/**
|
|
96
104
|
* What a symbolic ref points at (full refname), or null when it is not one.
|
|
97
105
|
* See {@link Git.symbolicRef}.
|
|
@@ -123,8 +131,12 @@ export declare class AsyncGit {
|
|
|
123
131
|
mergeBase(a: string, b: string, opts?: GitCallOptions): Promise<string | null>;
|
|
124
132
|
/** Subject line of a ref's HEAD commit, or null. */
|
|
125
133
|
logSubject(ref: string, opts?: GitCallOptions): Promise<string | null>;
|
|
126
|
-
/** `git config --get <key>`, or null when unset. */
|
|
127
|
-
configGet(key: string, opts?: GitCallOptions): Promise<string | null>;
|
|
134
|
+
/** `git config --get <key>`, or null when unset. `scope` reads one file only. */
|
|
135
|
+
configGet(key: string, opts?: GitCallOptions & ConfigGetOptions): Promise<string | null>;
|
|
136
|
+
/** Every value of a multi-valued key, verbatim; `[]` when unset. */
|
|
137
|
+
configGetAll(key: string, opts?: GitCallOptions & ConfigGetOptions): Promise<string[]>;
|
|
138
|
+
/** A key read as a boolean by git, or null when unset. See {@link Git.configGetBool}. */
|
|
139
|
+
configGetBool(key: string, opts?: GitCallOptions & ConfigGetOptions): Promise<boolean | null>;
|
|
128
140
|
/** True iff `rev` resolves to an object. */
|
|
129
141
|
objectExists(rev: string, opts?: GitCallOptions): Promise<boolean>;
|
|
130
142
|
/**
|
|
@@ -149,13 +161,16 @@ export declare class AsyncGit {
|
|
|
149
161
|
lsFiles(opts?: GitCallOptions & LsFilesOptions): Promise<string[]>;
|
|
150
162
|
/** Tracked files with their `ls-files -v` tag. See {@link Git.lsFilesTagged}. */
|
|
151
163
|
lsFilesTagged(opts?: GitCallOptions): Promise<TaggedFile[]>;
|
|
152
|
-
/**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
|
|
164
|
+
/**
|
|
165
|
+
* The unified diff; `""` when nothing differs. A bad rev, or a cwd outside a
|
|
166
|
+
* repository, rejects. See {@link Git.diffText}.
|
|
167
|
+
*/
|
|
168
|
+
diffText(rev?: string | undefined, opts?: GitCallOptions & DiffTextOptions): Promise<string>;
|
|
169
|
+
/**
|
|
170
|
+
* One untracked file rendered as an all-added diff. A path git cannot read
|
|
171
|
+
* rejects. See {@link Git.diffAddedFile}.
|
|
172
|
+
*/
|
|
173
|
+
diffAddedFile(relPath: string, opts?: GitCallOptions): Promise<string>;
|
|
159
174
|
/** `for-each-ref` rows, one line each, in the caller's format. */
|
|
160
175
|
forEachRef(pattern: string | string[], opts?: GitCallOptions & ForEachRefOptions): Promise<string[]>;
|
|
161
176
|
/** Local refs matching `pattern` as `{ sha, ref }` rows. */
|
|
@@ -198,9 +213,26 @@ export declare class AsyncGit {
|
|
|
198
213
|
/** How far `tip` has diverged from `base`. See {@link AheadBehind}. */
|
|
199
214
|
aheadBehind(base: string, tip: string, opts?: GitCallOptions): Promise<AheadBehind>;
|
|
200
215
|
/** Configured remote names (`git remote`); `[]` when there are none. */
|
|
216
|
+
remotes(opts?: GitCallOptions): Promise<string[]>;
|
|
217
|
+
/**
|
|
218
|
+
* The same as {@link AsyncGit.remotes}.
|
|
219
|
+
*
|
|
220
|
+
* @deprecated Use `remotes()`. The name `remote()` reads as one remote, but
|
|
221
|
+
* it returns every remote name. It will be removed at 1.0.
|
|
222
|
+
*/
|
|
201
223
|
remote(opts?: GitCallOptions): Promise<string[]>;
|
|
202
|
-
/**
|
|
203
|
-
|
|
224
|
+
/**
|
|
225
|
+
* A remote's fetch URL (push URL with `push`), or null when no remote by
|
|
226
|
+
* that name exists.
|
|
227
|
+
*/
|
|
228
|
+
remoteGetUrl(name: string, opts?: GitCallOptions & RemoteGetUrlOptions): Promise<string | null>;
|
|
229
|
+
/** Every URL a remote has (push URLs with `push`); `[]` for an unknown remote. */
|
|
230
|
+
remoteGetUrls(name: string, opts?: GitCallOptions & RemoteGetUrlOptions): Promise<string[]>;
|
|
231
|
+
/**
|
|
232
|
+
* The full refname the remote's HEAD points at, asked over the network; null
|
|
233
|
+
* when the remote names none. See {@link Git.remoteHead}.
|
|
234
|
+
*/
|
|
235
|
+
remoteHead(remote: string, opts?: GitCallOptions): Promise<string | null>;
|
|
204
236
|
/** The coordinate a remote's URL names, or null. See {@link Git.remoteOwnerRepo}. */
|
|
205
237
|
remoteOwnerRepo(remote?: string, opts?: GitCallOptions): Promise<RemoteCoordinate | null>;
|
|
206
238
|
/** `git fetch <remote> [refspec…]`. See {@link FetchOptions} for the flags. */
|
|
@@ -220,11 +252,9 @@ export declare class AsyncGit {
|
|
|
220
252
|
/** `git clone [--depth n] [--branch ref] <url> [dest]`, from this client's `cwd`. */
|
|
221
253
|
clone(url: string, dest?: string | undefined, opts?: GitCallOptions & CloneOptions): Promise<void>;
|
|
222
254
|
/**
|
|
223
|
-
* Push a refspec.
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* remote-tracking ref, which a fetch in this same process may have just
|
|
227
|
-
* updated.
|
|
255
|
+
* Push a refspec. A {@link ForceLease} pins `--force-with-lease`.
|
|
256
|
+
* `{forceWithLease: true}` adds the bare flag, which is the unsafe form. See
|
|
257
|
+
* {@link Git.push}.
|
|
228
258
|
*/
|
|
229
259
|
push(remote: string, refspec: string, opts?: GitCallOptions & {
|
|
230
260
|
forceWithLease?: boolean | ForceLease | undefined;
|
|
@@ -237,7 +267,10 @@ export declare class AsyncGit {
|
|
|
237
267
|
deleteBranch(name: string, opts?: GitCallOptions & {
|
|
238
268
|
force?: boolean | undefined;
|
|
239
269
|
}): Promise<void>;
|
|
240
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Remove config section `name`; false when it was absent. See
|
|
272
|
+
* `configRemoveSection` in `verbs.ts`.
|
|
273
|
+
*/
|
|
241
274
|
configRemoveSection(name: string, opts?: GitCallOptions): Promise<boolean>;
|
|
242
275
|
/** Delete `ref` only while it points at `expected`. See `deleteRef` in `verbs.ts`. */
|
|
243
276
|
deleteRef(ref: string, opts: GitCallOptions & {
|
|
@@ -281,7 +314,10 @@ export declare class AsyncGit {
|
|
|
281
314
|
mergeTree(ours: string, theirs: string, opts?: MergeTreeOptions & GitCallOptions): Promise<MergeTreeOutcome>;
|
|
282
315
|
/** `git ls-files -u`, parsed — the stage detail behind each conflict. */
|
|
283
316
|
lsFilesUnmerged(opts?: GitCallOptions): Promise<UnmergedEntry[]>;
|
|
284
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* Resolve conflicted `paths` to one side wholesale. An empty list resolves
|
|
319
|
+
* without calling the backend. See {@link Git.checkoutSide}.
|
|
320
|
+
*/
|
|
285
321
|
checkoutSide(side: ConflictSide, paths: string[], opts?: GitCallOptions): Promise<void>;
|
|
286
322
|
/** `git checkout [-f] [-b|-B <branch>] <ref>`. */
|
|
287
323
|
checkout(ref: string, opts?: CheckoutOptions & GitCallOptions): Promise<void>;
|
package/dist/async.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../async.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAC/E,OAAO,EAAyB,KAAK,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAA;AAChF,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAEvE,OAAO,
|
|
1
|
+
{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../async.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAC/E,OAAO,EAAyB,KAAK,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAA;AAChF,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAEvE,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACr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