You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Resolves the contents of multiple files asynchronously.
182
186
* Iterates through the provided files, resolving their content based on type or source.
183
187
* @param files - Array of files to process and resolve content for.
184
-
* @param options - Optional parameters for tracing, cancellation handling, and file processing.
188
+
* @param options - Optional parameters for tracing, cancellation handling, and maximum file size.
185
189
*/
186
190
exportasyncfunctionresolveFileContents(
187
191
files: WorkspaceFile[],
@@ -251,7 +255,7 @@ export function dataUriToBuffer(filename: string) {
251
255
252
256
/**
253
257
* Resolves and returns the file content as bytes.
254
-
* @param filename - The file name, URL, data URI, or WorkspaceFile object to resolve.
258
+
* @param filename - The file name, URL, data URI, or WorkspaceFile object to resolve. If a WorkspaceFile object, it uses its encoding and content if available.
255
259
* @param options - Optional parameters for tracing and cancellation handling.
256
260
* @returns A Uint8Array containing the file content as bytes.
0 commit comments