type-git 0.4.0 → 0.6.0
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/README.md +24 -1
- package/dist/adapters/bun/index.cjs +81 -6493
- package/dist/adapters/bun/index.d.cts +6 -1
- package/dist/adapters/bun/index.d.ts +6 -1
- package/dist/adapters/bun/index.js +48 -6420
- package/dist/adapters/deno/index.cjs +75 -6489
- package/dist/adapters/deno/index.d.cts +6 -1
- package/dist/adapters/deno/index.d.ts +6 -1
- package/dist/adapters/deno/index.js +43 -6417
- package/dist/adapters/node/index.cjs +4 -6762
- package/dist/adapters/node/index.d.cts +43 -6
- package/dist/adapters/node/index.d.ts +43 -6
- package/dist/adapters/node/index.js +7 -6725
- package/dist/chunk-BRFWPLJ7.cjs +13025 -0
- package/dist/chunk-DDWWKTAE.cjs +392 -0
- package/dist/chunk-FHV2WOQG.js +392 -0
- package/dist/chunk-IYOGHATP.js +13025 -0
- package/dist/client.d-D9Lqi1a2.d.cts +140336 -0
- package/dist/index.cjs +42 -6868
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +32 -6794
- package/docs/adapters.md +168 -0
- package/package.json +48 -18
- package/dist/adapters/bun/index.cjs.map +0 -1
- package/dist/adapters/bun/index.js.map +0 -1
- package/dist/adapters/deno/index.cjs.map +0 -1
- package/dist/adapters/deno/index.js.map +0 -1
- package/dist/adapters/node/index.cjs.map +0 -1
- package/dist/adapters/node/index.js.map +0 -1
- package/dist/client-DAAbUvgo.d.cts +0 -5291
- package/dist/client-DAAbUvgo.d.ts +0 -5291
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkBRFWPLJ7cjs = require('./chunk-BRFWPLJ7.cjs');
|
|
9
|
+
|
|
10
|
+
// src/adapters/node/exec.ts
|
|
11
|
+
var _child_process = require('child_process');
|
|
12
|
+
function resolveChildEnv(env, inheritEnv) {
|
|
13
|
+
if (inheritEnv === false) {
|
|
14
|
+
return _nullishCoalesce(env, () => ( {}));
|
|
15
|
+
}
|
|
16
|
+
return env ? { ...process.env, ...env } : process.env;
|
|
17
|
+
}
|
|
18
|
+
async function* streamToAsyncIterable(stream) {
|
|
19
|
+
let buffer = "";
|
|
20
|
+
for await (const chunk of stream) {
|
|
21
|
+
buffer += chunk;
|
|
22
|
+
const lines = buffer.split("\n");
|
|
23
|
+
buffer = _nullishCoalesce(lines.pop(), () => ( ""));
|
|
24
|
+
for (const line of lines) {
|
|
25
|
+
yield line;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (buffer) {
|
|
29
|
+
yield buffer;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
var NodeExecAdapter = class {
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @param options - Vetted spawn options; see {@link NodeExecAdapterOptions}.
|
|
36
|
+
* @throws TypeError if `windowsHide` is present but not a boolean.
|
|
37
|
+
*/
|
|
38
|
+
constructor(options) {
|
|
39
|
+
const windowsHide = _optionalChain([options, 'optionalAccess', _ => _.windowsHide]);
|
|
40
|
+
if (windowsHide !== void 0 && typeof windowsHide !== "boolean") {
|
|
41
|
+
throw new TypeError("windowsHide must be a boolean");
|
|
42
|
+
}
|
|
43
|
+
this.windowsHide = windowsHide;
|
|
44
|
+
}
|
|
45
|
+
getCapabilities() {
|
|
46
|
+
return {
|
|
47
|
+
canSpawnProcess: true,
|
|
48
|
+
canReadEnv: true,
|
|
49
|
+
canWriteTemp: true,
|
|
50
|
+
supportsAbortSignal: true,
|
|
51
|
+
supportsKillSignal: true,
|
|
52
|
+
runtime: "node"
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
async spawn(options, handlers) {
|
|
56
|
+
return await this.spawnResult(options, handlers, false);
|
|
57
|
+
}
|
|
58
|
+
async spawnBytes(options, handlers) {
|
|
59
|
+
return await this.spawnResult(options, handlers, true);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Run a process to completion and collect its output as text, or as bytes when `binary` is
|
|
63
|
+
* true. Applies the configured `windowsHide` option.
|
|
64
|
+
*/
|
|
65
|
+
async spawnResult(options, handlers, binary) {
|
|
66
|
+
const { argv, env, inheritEnv, cwd, signal } = options;
|
|
67
|
+
const command = argv[0];
|
|
68
|
+
if (command === void 0) {
|
|
69
|
+
throw new Error("argv must not be empty");
|
|
70
|
+
}
|
|
71
|
+
const args = argv.slice(1);
|
|
72
|
+
if (_optionalChain([signal, 'optionalAccess', _2 => _2.aborted])) {
|
|
73
|
+
return Promise.resolve({
|
|
74
|
+
stdout: binary ? new Uint8Array(0) : "",
|
|
75
|
+
stderr: "",
|
|
76
|
+
exitCode: -1,
|
|
77
|
+
aborted: true
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
return new Promise((resolve, reject) => {
|
|
81
|
+
const child = _child_process.spawn.call(void 0, command, args, {
|
|
82
|
+
cwd,
|
|
83
|
+
env: resolveChildEnv(env, inheritEnv),
|
|
84
|
+
stdio: [options.stdin === void 0 ? "ignore" : "pipe", "pipe", "pipe"],
|
|
85
|
+
...this.windowsHide === void 0 ? {} : { windowsHide: this.windowsHide }
|
|
86
|
+
});
|
|
87
|
+
if (!binary) {
|
|
88
|
+
_optionalChain([child, 'access', _3 => _3.stdout, 'optionalAccess', _4 => _4.setEncoding, 'call', _5 => _5("utf8")]);
|
|
89
|
+
}
|
|
90
|
+
_optionalChain([child, 'access', _6 => _6.stderr, 'optionalAccess', _7 => _7.setEncoding, 'call', _8 => _8("utf8")]);
|
|
91
|
+
let stdout = "";
|
|
92
|
+
const stdoutChunks = [];
|
|
93
|
+
let stderr = "";
|
|
94
|
+
let aborted = false;
|
|
95
|
+
let exitSignal;
|
|
96
|
+
const abortHandler = () => {
|
|
97
|
+
aborted = true;
|
|
98
|
+
child.kill("SIGTERM");
|
|
99
|
+
};
|
|
100
|
+
if (signal) {
|
|
101
|
+
if (signal.aborted) {
|
|
102
|
+
child.kill("SIGTERM");
|
|
103
|
+
aborted = true;
|
|
104
|
+
} else {
|
|
105
|
+
signal.addEventListener("abort", abortHandler, { once: true });
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
_optionalChain([child, 'access', _9 => _9.stdout, 'optionalAccess', _10 => _10.on, 'call', _11 => _11("data", (chunk) => {
|
|
109
|
+
if (typeof chunk === "string") {
|
|
110
|
+
stdout += chunk;
|
|
111
|
+
_optionalChain([handlers, 'optionalAccess', _12 => _12.onStdout, 'optionalCall', _13 => _13(chunk)]);
|
|
112
|
+
} else {
|
|
113
|
+
stdoutChunks.push(chunk);
|
|
114
|
+
}
|
|
115
|
+
})]);
|
|
116
|
+
_optionalChain([child, 'access', _14 => _14.stderr, 'optionalAccess', _15 => _15.on, 'call', _16 => _16("data", (chunk) => {
|
|
117
|
+
const text = chunk;
|
|
118
|
+
stderr += text;
|
|
119
|
+
_optionalChain([handlers, 'optionalAccess', _17 => _17.onStderr, 'optionalCall', _18 => _18(text)]);
|
|
120
|
+
})]);
|
|
121
|
+
_optionalChain([child, 'access', _19 => _19.stdin, 'optionalAccess', _20 => _20.on, 'call', _21 => _21("error", (error) => {
|
|
122
|
+
if (error.code !== "EPIPE" && error.code !== "EOF") {
|
|
123
|
+
reject(error);
|
|
124
|
+
}
|
|
125
|
+
})]);
|
|
126
|
+
_optionalChain([child, 'access', _22 => _22.stdin, 'optionalAccess', _23 => _23.end, 'call', _24 => _24(options.stdin)]);
|
|
127
|
+
child.on("error", (error) => {
|
|
128
|
+
_optionalChain([signal, 'optionalAccess', _25 => _25.removeEventListener, 'call', _26 => _26("abort", abortHandler)]);
|
|
129
|
+
reject(error);
|
|
130
|
+
});
|
|
131
|
+
child.on("close", (code, sig) => {
|
|
132
|
+
_optionalChain([signal, 'optionalAccess', _27 => _27.removeEventListener, 'call', _28 => _28("abort", abortHandler)]);
|
|
133
|
+
if (sig) {
|
|
134
|
+
exitSignal = sig;
|
|
135
|
+
}
|
|
136
|
+
resolve({
|
|
137
|
+
stdout: binary ? _chunkBRFWPLJ7cjs.joinBytes.call(void 0, stdoutChunks) : stdout,
|
|
138
|
+
stderr,
|
|
139
|
+
exitCode: _nullishCoalesce(code, () => ( -1)),
|
|
140
|
+
signal: exitSignal,
|
|
141
|
+
aborted
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Start a process and return a handle that streams its stdout lines. Applies the configured
|
|
148
|
+
* `windowsHide` option.
|
|
149
|
+
*/
|
|
150
|
+
spawnStreaming(options) {
|
|
151
|
+
const { argv, env, inheritEnv, cwd, signal } = options;
|
|
152
|
+
const command = argv[0];
|
|
153
|
+
if (command === void 0) {
|
|
154
|
+
throw new Error("argv must not be empty");
|
|
155
|
+
}
|
|
156
|
+
const args = argv.slice(1);
|
|
157
|
+
const child = _child_process.spawn.call(void 0, command, args, {
|
|
158
|
+
cwd,
|
|
159
|
+
env: resolveChildEnv(env, inheritEnv),
|
|
160
|
+
stdio: [options.stdin === void 0 ? "ignore" : "pipe", "pipe", "pipe"],
|
|
161
|
+
...this.windowsHide === void 0 ? {} : { windowsHide: this.windowsHide }
|
|
162
|
+
});
|
|
163
|
+
let aborted = false;
|
|
164
|
+
let exitSignal;
|
|
165
|
+
const abortHandler = () => {
|
|
166
|
+
aborted = true;
|
|
167
|
+
child.kill("SIGTERM");
|
|
168
|
+
};
|
|
169
|
+
if (signal) {
|
|
170
|
+
if (signal.aborted) {
|
|
171
|
+
child.kill("SIGTERM");
|
|
172
|
+
aborted = true;
|
|
173
|
+
} else {
|
|
174
|
+
signal.addEventListener("abort", abortHandler, { once: true });
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
const waitPromise = new Promise((resolve, reject) => {
|
|
178
|
+
_optionalChain([child, 'access', _29 => _29.stdout, 'optionalAccess', _30 => _30.setEncoding, 'call', _31 => _31("utf8")]);
|
|
179
|
+
_optionalChain([child, 'access', _32 => _32.stderr, 'optionalAccess', _33 => _33.setEncoding, 'call', _34 => _34("utf8")]);
|
|
180
|
+
let stdout = "";
|
|
181
|
+
let stderr = "";
|
|
182
|
+
_optionalChain([child, 'access', _35 => _35.stdout, 'optionalAccess', _36 => _36.on, 'call', _37 => _37("data", (chunk) => {
|
|
183
|
+
stdout += chunk;
|
|
184
|
+
})]);
|
|
185
|
+
_optionalChain([child, 'access', _38 => _38.stderr, 'optionalAccess', _39 => _39.on, 'call', _40 => _40("data", (chunk) => {
|
|
186
|
+
stderr += chunk;
|
|
187
|
+
})]);
|
|
188
|
+
_optionalChain([child, 'access', _41 => _41.stdin, 'optionalAccess', _42 => _42.on, 'call', _43 => _43("error", (error) => {
|
|
189
|
+
if (error.code !== "EPIPE" && error.code !== "EOF") {
|
|
190
|
+
reject(error);
|
|
191
|
+
}
|
|
192
|
+
})]);
|
|
193
|
+
_optionalChain([child, 'access', _44 => _44.stdin, 'optionalAccess', _45 => _45.end, 'call', _46 => _46(options.stdin)]);
|
|
194
|
+
child.on("error", (error) => {
|
|
195
|
+
_optionalChain([signal, 'optionalAccess', _47 => _47.removeEventListener, 'call', _48 => _48("abort", abortHandler)]);
|
|
196
|
+
reject(error);
|
|
197
|
+
});
|
|
198
|
+
child.on("close", (code, sig) => {
|
|
199
|
+
_optionalChain([signal, 'optionalAccess', _49 => _49.removeEventListener, 'call', _50 => _50("abort", abortHandler)]);
|
|
200
|
+
if (sig) {
|
|
201
|
+
exitSignal = sig;
|
|
202
|
+
}
|
|
203
|
+
resolve({
|
|
204
|
+
stdout,
|
|
205
|
+
stderr,
|
|
206
|
+
exitCode: _nullishCoalesce(code, () => ( -1)),
|
|
207
|
+
signal: exitSignal,
|
|
208
|
+
aborted
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
const stdoutStream = child.stdout;
|
|
213
|
+
const stderrStream = child.stderr;
|
|
214
|
+
if (!(stdoutStream && stderrStream)) {
|
|
215
|
+
throw new Error("Failed to create stdio streams");
|
|
216
|
+
}
|
|
217
|
+
return {
|
|
218
|
+
stdout: streamToAsyncIterable(stdoutStream),
|
|
219
|
+
stderr: streamToAsyncIterable(stderrStream),
|
|
220
|
+
wait: () => waitPromise,
|
|
221
|
+
kill: (sig) => {
|
|
222
|
+
child.kill(_nullishCoalesce(sig, () => ( "SIGTERM")));
|
|
223
|
+
},
|
|
224
|
+
[Symbol.asyncDispose]: async () => {
|
|
225
|
+
if (child.exitCode === null) {
|
|
226
|
+
child.kill("SIGTERM");
|
|
227
|
+
}
|
|
228
|
+
await waitPromise.catch(() => {
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
// src/adapters/node/fs.ts
|
|
236
|
+
var _promises = require('fs/promises');
|
|
237
|
+
var _os = require('os');
|
|
238
|
+
var _path = require('path');
|
|
239
|
+
var NodeFsAdapter = (_class = class {constructor() { _class.prototype.__init.call(this); }
|
|
240
|
+
/** Private directories created by createTempFile, keyed by the returned file path. */
|
|
241
|
+
__init() {this.tempFileDirs = /* @__PURE__ */ new Map()}
|
|
242
|
+
async createTempFile(prefix = "type-git-") {
|
|
243
|
+
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), prefix));
|
|
244
|
+
const filePath = _path.join.call(void 0, dir, "temp");
|
|
245
|
+
this.tempFileDirs.set(filePath, dir);
|
|
246
|
+
return filePath;
|
|
247
|
+
}
|
|
248
|
+
async createTempDirectory(prefix = "type-git-") {
|
|
249
|
+
return await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), prefix));
|
|
250
|
+
}
|
|
251
|
+
async tail(options) {
|
|
252
|
+
const { filePath, signal, onLine, pollInterval = 100 } = options;
|
|
253
|
+
const state = { file: null };
|
|
254
|
+
const decoder = new TextDecoder();
|
|
255
|
+
const adapter = {
|
|
256
|
+
readChunk: async (position) => {
|
|
257
|
+
try {
|
|
258
|
+
if (!state.file) {
|
|
259
|
+
state.file = await _promises.open.call(void 0, filePath, "r");
|
|
260
|
+
}
|
|
261
|
+
const { bytesRead, buffer: chunk } = await state.file.read({
|
|
262
|
+
buffer: Buffer.alloc(4096),
|
|
263
|
+
position
|
|
264
|
+
});
|
|
265
|
+
return {
|
|
266
|
+
data: decoder.decode(chunk.subarray(0, bytesRead), { stream: true }),
|
|
267
|
+
newPosition: position + bytesRead
|
|
268
|
+
};
|
|
269
|
+
} catch (e) {
|
|
270
|
+
return null;
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
274
|
+
};
|
|
275
|
+
try {
|
|
276
|
+
await _chunkBRFWPLJ7cjs.runTailPolling.call(void 0, { adapter, signal, pollInterval, onLine });
|
|
277
|
+
} finally {
|
|
278
|
+
if (state.file) {
|
|
279
|
+
await state.file.close();
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
async deleteFile(filePath) {
|
|
284
|
+
const tempDir = this.tempFileDirs.get(filePath);
|
|
285
|
+
if (tempDir !== void 0) {
|
|
286
|
+
await _promises.rm.call(void 0, tempDir, { force: true, recursive: true });
|
|
287
|
+
this.tempFileDirs.delete(filePath);
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
await _promises.rm.call(void 0, filePath, { force: true });
|
|
291
|
+
}
|
|
292
|
+
async deleteDirectory(dirPath) {
|
|
293
|
+
await _promises.rm.call(void 0, dirPath, { force: true, recursive: true });
|
|
294
|
+
}
|
|
295
|
+
async exists(filePath) {
|
|
296
|
+
try {
|
|
297
|
+
await _promises.access.call(void 0, filePath);
|
|
298
|
+
return true;
|
|
299
|
+
} catch (e2) {
|
|
300
|
+
return false;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
async readFile(filePath) {
|
|
304
|
+
return await _promises.readFile.call(void 0, filePath, "utf8");
|
|
305
|
+
}
|
|
306
|
+
async writeFile(filePath, contents) {
|
|
307
|
+
await _promises.writeFile.call(void 0, filePath, contents, "utf8");
|
|
308
|
+
}
|
|
309
|
+
tailStreaming(filePath, options) {
|
|
310
|
+
const { signal, pollInterval = 100 } = _nullishCoalesce(options, () => ( {}));
|
|
311
|
+
const state = { file: null };
|
|
312
|
+
const decoder = new TextDecoder();
|
|
313
|
+
const adapter = {
|
|
314
|
+
readChunk: async (position) => {
|
|
315
|
+
try {
|
|
316
|
+
if (!state.file) {
|
|
317
|
+
state.file = await _promises.open.call(void 0, filePath, "r");
|
|
318
|
+
}
|
|
319
|
+
const { bytesRead, buffer: chunk } = await state.file.read({
|
|
320
|
+
buffer: Buffer.alloc(4096),
|
|
321
|
+
position
|
|
322
|
+
});
|
|
323
|
+
return {
|
|
324
|
+
data: decoder.decode(chunk.subarray(0, bytesRead), { stream: true }),
|
|
325
|
+
newPosition: position + bytesRead
|
|
326
|
+
};
|
|
327
|
+
} catch (e3) {
|
|
328
|
+
return null;
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
332
|
+
};
|
|
333
|
+
const polling = _chunkBRFWPLJ7cjs.createTailPolling.call(void 0, { adapter, signal, pollInterval });
|
|
334
|
+
const closeFileHandle = async () => {
|
|
335
|
+
if (state.file) {
|
|
336
|
+
await state.file.close().catch(() => {
|
|
337
|
+
});
|
|
338
|
+
state.file = null;
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
const originalStop = polling.stop;
|
|
342
|
+
const enhancedStop = () => {
|
|
343
|
+
originalStop();
|
|
344
|
+
void closeFileHandle();
|
|
345
|
+
};
|
|
346
|
+
return {
|
|
347
|
+
lines: polling.lines,
|
|
348
|
+
stop: enhancedStop,
|
|
349
|
+
[Symbol.asyncDispose]: async () => {
|
|
350
|
+
await polling[Symbol.asyncDispose]();
|
|
351
|
+
await closeFileHandle();
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
}, _class);
|
|
356
|
+
|
|
357
|
+
// src/adapters/node/index.ts
|
|
358
|
+
function createNodeAdapters(options) {
|
|
359
|
+
return {
|
|
360
|
+
exec: new NodeExecAdapter(options),
|
|
361
|
+
fs: new NodeFsAdapter()
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
function splitOptions(options) {
|
|
365
|
+
const { windowsHide, ...gitOptions } = _nullishCoalesce(options, () => ( {}));
|
|
366
|
+
return {
|
|
367
|
+
...gitOptions,
|
|
368
|
+
adapters: createNodeAdapters(windowsHide === void 0 ? void 0 : { windowsHide })
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
var TypeGit = class _TypeGit extends _chunkBRFWPLJ7cjs.GitClient {
|
|
372
|
+
/**
|
|
373
|
+
* Create a client after checking the installed Git version. Node adapter options such as
|
|
374
|
+
* `windowsHide` are passed to the execution adapter.
|
|
375
|
+
*/
|
|
376
|
+
static async create(options) {
|
|
377
|
+
return new _TypeGit(await _chunkBRFWPLJ7cjs.createGit.call(void 0, splitOptions(options)));
|
|
378
|
+
}
|
|
379
|
+
/** Wrap an existing Git instance, or create one from options without the version check. */
|
|
380
|
+
constructor(optionsOrGit) {
|
|
381
|
+
super(
|
|
382
|
+
optionsOrGit && "open" in optionsOrGit ? optionsOrGit : _chunkBRFWPLJ7cjs.createGitSync.call(void 0, splitOptions(optionsOrGit))
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
exports.NodeExecAdapter = NodeExecAdapter; exports.NodeFsAdapter = NodeFsAdapter; exports.createNodeAdapters = createNodeAdapters; exports.TypeGit = TypeGit;
|