@@ -64,11 +64,11 @@ export class BackupsFileModel implements IBackupsFileModel {
returntrue;
}
remove(resource:Uri):void{
publicremove(resource:Uri):void{
deletethis.cache[resource.toString()];
}
clear():void{
publicclear():void{
this.cache=Object.create(null);
}
}
...
...
@@ -81,7 +81,7 @@ export class BackupFileService implements IBackupFileService {
protectedworkspacesJsonPath:string;
privatebackupWorkspacePath:string;
privateready:TPromise<IBackupsFileModel>;
privateready:TPromise<IBackupFilesModel>;
constructor(
privatecurrentWorkspace:Uri,
...
...
@@ -103,8 +103,8 @@ export class BackupFileService implements IBackupFileService {
returnthis.currentWorkspace&&!this.environmentService.isExtensionDevelopment;// Hot exit is disabled for empty workspaces and when doing extension development
}
privateinit():TPromise<IBackupsFileModel>{
constmodel=newBackupsFileModel();
privateinit():TPromise<IBackupFilesModel>{
constmodel=newBackupFilesModel();
if(!this.backupEnabled){
returnTPromise.as(model);
...
...
@@ -140,11 +140,11 @@ export class BackupFileService implements IBackupFileService {