@@ -163,7 +163,7 @@ export class ArchiveFileSystemProvider implements vscode.FileSystemProvider {
163163 // metadata
164164
165165 async stat ( uri : vscode . Uri ) : Promise < vscode . FileStat > {
166- return await this . _lookup ( uri , false ) ;
166+ return await this . _lookup ( uri ) ;
167167 }
168168
169169 async readDirectory ( uri : vscode . Uri ) : Promise < [ string , vscode . FileType ] [ ] > {
@@ -180,7 +180,7 @@ export class ArchiveFileSystemProvider implements vscode.FileSystemProvider {
180180 // file contents
181181
182182 async readFile ( uri : vscode . Uri ) : Promise < Uint8Array > {
183- const data = ( await this . _lookupAsFile ( uri , false ) ) . data ;
183+ const data = ( await this . _lookupAsFile ( uri ) ) . data ;
184184 if ( data ) {
185185 return data ;
186186 }
@@ -189,25 +189,25 @@ export class ArchiveFileSystemProvider implements vscode.FileSystemProvider {
189189
190190 // write operations, all disabled
191191
192- writeFile ( uri : vscode . Uri , content : Uint8Array , options : { create : boolean , overwrite : boolean } ) : void {
192+ writeFile ( _uri : vscode . Uri , _content : Uint8Array , _options : { create : boolean , overwrite : boolean } ) : void {
193193 throw this . readOnlyError ;
194194 }
195195
196- rename ( oldUri : vscode . Uri , newUri : vscode . Uri , options : { overwrite : boolean } ) : void {
196+ rename ( _oldUri : vscode . Uri , _newUri : vscode . Uri , _options : { overwrite : boolean } ) : void {
197197 throw this . readOnlyError ;
198198 }
199199
200- delete ( uri : vscode . Uri ) : void {
200+ delete ( _uri : vscode . Uri ) : void {
201201 throw this . readOnlyError ;
202202 }
203203
204- createDirectory ( uri : vscode . Uri ) : void {
204+ createDirectory ( _uri : vscode . Uri ) : void {
205205 throw this . readOnlyError ;
206206 }
207207
208208 // content lookup
209209
210- private async _lookup ( uri : vscode . Uri , silent : boolean ) : Promise < Entry > {
210+ private async _lookup ( uri : vscode . Uri ) : Promise < Entry > {
211211 const ref = decodeSourceArchiveUri ( uri ) ;
212212 const archive = await this . getArchive ( ref . sourceArchiveZipPath ) ;
213213
@@ -238,8 +238,8 @@ export class ArchiveFileSystemProvider implements vscode.FileSystemProvider {
238238 throw vscode . FileSystemError . FileNotFound ( uri ) ;
239239 }
240240
241- private async _lookupAsFile ( uri : vscode . Uri , silent : boolean ) : Promise < File > {
242- let entry = await this . _lookup ( uri , silent ) ;
241+ private async _lookupAsFile ( uri : vscode . Uri ) : Promise < File > {
242+ let entry = await this . _lookup ( uri ) ;
243243 if ( entry instanceof File ) {
244244 return entry ;
245245 }
0 commit comments