380
381
for (const recent of recents.workspaces) {
383
>
serialized.entries.push({
384
>
folderUri: recent.folderUri.toString(),
385
>
label: storeLabel(recent.label, recent.folderUri) ? recent.label : undefined,
386
>
remoteAuthority: recent.remoteAuthority
387
>
});
388
>
} else {
389
>
serialized.entries.push({
390
>
workspace: {
391
>
id: recent.workspace.id,
392
>
configPath: recent.workspace.configPath.toString()
393
>
},
394
>
label: storeLabel(recent.label, recent.workspace.configPath) ? recent.label : undefined,
395
>
remoteAuthority: recent.remoteAuthority
396
>
});
397
>
}
398
>
}
399
400
for (const recent of recents.files) {