Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/FileDownloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ export interface FileDownloadSettings {
* }
*/
headers?: Record<string, string | number | boolean> | undefined;
/**
* Whether to skip aggressive encoding on the URI, as `vscode.Uri.toString()` normally results in `&` and `=` becoming encoded.
* @default false
*/
skipEncoding?: boolean
}

export default interface FileDownloader {
Expand Down Expand Up @@ -104,4 +109,4 @@ export default interface FileDownloader {
* @param context the context of the extension that downloaded the file(s)
*/
deleteAllItems(context: ExtensionContext): Promise<void>;
}
}