src/vs/platform/backup/electron-main/backupMainService.ts/BackupMainService/getDirtyWorkspaces
class BackupMainService:	async getDirtyWorkspaces(): Promise<Array<IWorkspaceIdentifier | URI>> {
		const dirtyWorkspaces: Array<IWorkspaceIdentifier | URI> = [];

		// Workspaces with backups
		for (const workspace of this.workspaces) {
			if ((await this.hasBackups(workspace))) {
				dirtyWorkspaces.push(workspace.workspace);
			}
		}

		// Folders with backups
		for (const folder of this.folders) {
			if ((await this.hasBackups(folder))) {
				dirtyWorkspaces.push(folder);
			}
		}

		return dirtyWorkspaces;
	}