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.
@@ -1,4 +1,4 @@
1
- import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters, e as CreateGitOptions, G as GitClient, f as Git } from '../../client-DAAbUvgo.cjs';
1
+ import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters, e as CreateGitOptions, G as GitClient, f as Git } from '../../client.d-D9Lqi1a2.cjs';
2
2
 
3
3
  /**
4
4
  * Bun ExecAdapter implementation
@@ -9,6 +9,8 @@ import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHand
9
9
  declare class BunExecAdapter implements ExecAdapter {
10
10
  getCapabilities(): Capabilities;
11
11
  spawn(options: SpawnOptions, handlers?: StreamHandler): Promise<SpawnResult>;
12
+ spawnBytes(options: SpawnOptions, handlers?: Pick<StreamHandler, 'onStderr'>): Promise<SpawnResult<Uint8Array>>;
13
+ private spawnResult;
12
14
  spawnStreaming(options: SpawnOptions): SpawnHandle;
13
15
  }
14
16
 
@@ -19,7 +21,10 @@ declare class BunExecAdapter implements ExecAdapter {
19
21
  */
20
22
 
21
23
  declare class BunFsAdapter implements FsAdapter {
24
+ /** Private directories created by createTempFile, keyed by the returned file path. */
25
+ private readonly tempFileDirs;
22
26
  createTempFile(prefix?: string): Promise<string>;
27
+ createTempDirectory(prefix?: string): Promise<string>;
23
28
  tail(options: TailOptions): Promise<void>;
24
29
  deleteFile(filePath: string): Promise<void>;
25
30
  deleteDirectory(dirPath: string): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters, e as CreateGitOptions, G as GitClient, f as Git } from '../../client-DAAbUvgo.js';
1
+ import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters, e as CreateGitOptions, G as GitClient, f as Git } from '../../client.d-D9Lqi1a2.cjs';
2
2
 
3
3
  /**
4
4
  * Bun ExecAdapter implementation
@@ -9,6 +9,8 @@ import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHand
9
9
  declare class BunExecAdapter implements ExecAdapter {
10
10
  getCapabilities(): Capabilities;
11
11
  spawn(options: SpawnOptions, handlers?: StreamHandler): Promise<SpawnResult>;
12
+ spawnBytes(options: SpawnOptions, handlers?: Pick<StreamHandler, 'onStderr'>): Promise<SpawnResult<Uint8Array>>;
13
+ private spawnResult;
12
14
  spawnStreaming(options: SpawnOptions): SpawnHandle;
13
15
  }
14
16
 
@@ -19,7 +21,10 @@ declare class BunExecAdapter implements ExecAdapter {
19
21
  */
20
22
 
21
23
  declare class BunFsAdapter implements FsAdapter {
24
+ /** Private directories created by createTempFile, keyed by the returned file path. */
25
+ private readonly tempFileDirs;
22
26
  createTempFile(prefix?: string): Promise<string>;
27
+ createTempDirectory(prefix?: string): Promise<string>;
23
28
  tail(options: TailOptions): Promise<void>;
24
29
  deleteFile(filePath: string): Promise<void>;
25
30
  deleteDirectory(dirPath: string): Promise<void>;