@codingame/monaco-vscode-files-service-override 20.1.1 → 20.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-files-service-override",
3
- "version": "20.1.1",
3
+ "version": "20.2.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - files service-override",
6
6
  "keywords": [],
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "20.1.1",
19
- "@codingame/monaco-vscode-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common": "20.1.1",
20
- "@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "20.1.1",
21
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.1.1",
22
- "@codingame/monaco-vscode-api": "20.1.1",
23
- "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "20.1.1",
24
- "@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common": "20.1.1"
18
+ "@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "20.2.0",
19
+ "@codingame/monaco-vscode-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common": "20.2.0",
20
+ "@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "20.2.0",
21
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.2.0",
22
+ "@codingame/monaco-vscode-api": "20.2.0",
23
+ "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "20.2.0",
24
+ "@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common": "20.2.0"
25
25
  },
26
26
  "main": "index.js",
27
27
  "module": "index.js",
@@ -4,7 +4,16 @@ import { IDataTransformer, IErrorTransformer, WriteableStream } from "@codingame
4
4
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
5
5
  import { IFileReadStreamOptions, IFileSystemProviderWithOpenReadWriteCloseCapability } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
6
6
  export interface ICreateReadStreamOptions extends IFileReadStreamOptions {
7
+ /**
8
+ * The size of the buffer to use before sending to the stream.
9
+ */
7
10
  readonly bufferSize: number;
11
+ /**
12
+ * Allows to massage any possibly error that happens during reading.
13
+ */
8
14
  readonly errorTransformer?: IErrorTransformer;
9
15
  }
16
+ /**
17
+ * A helper to read a file from a provider with open/read/close capability into a stream.
18
+ */
10
19
  export declare function readFileIntoStream<T>(provider: IFileSystemProviderWithOpenReadWriteCloseCapability, resource: URI, target: WriteableStream<T>, transformer: IDataTransformer<VSBuffer, T>, options: ICreateReadStreamOptions, token: CancellationToken): Promise<void>;