userDataSyncService.ts ×3
Frontier kind: Joint frontier
unlabeled · c_9dc9a482a799
1 test · 29595 LOC · 134 files · introduces 1 test · 13 LOC · 2 files
Introduces — evidence that enters the hierarchy at this concept
Code
5 ranges 13 lines · 2 files
Tests
1 test
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
userDataSyncService.ts ×3 — Focused concept
Introduced files:
Introduced tests:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncMachines.ts ×2 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncService.test|title=UserDataSyncService test first time sync from the client with no changes - merge|occurrence=1 — Descendant (narrower)
Introduced tests:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×7 — Descendant (narrower)
Introduced files:
userDataSyncService.ts ×9 — Descendant (narrower)
Introduced files:
userDataSync.ts ×3 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×2 — Descendant (narrower)
Introduced files:
promptsMerge.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×37 — Descendant (narrower)
Introduced files:
userDataSyncService.test|title=UserDataSyncService test delete and sync|occurrence=1 — Descendant (narrower)
Introduced tests:
userDataSyncService.ts ×3 — Descendant (narrower)
Introduced files:
Introduced tests:
userDataSyncService.test|title=UserDataSyncService test sync status|occurrence=1, userDataSyncService.test|title=UserDataSyncService test first time sync ever|occurrence=1, +1 — Descendant (narrower)
Introduced tests:
abstractJsonSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
settingsSync.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncService.ts ×2 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncService.ts ×2 — Descendant (narrower)
Introduced files:
keybindingsSync.ts ×2 — Descendant (narrower)
Introduced files:
keybindingsSync.ts ×4 — Descendant (narrower)
Introduced files:
extensionsSync.ts ×17 — Descendant (narrower)
Introduced files:
globalStateSync.ts ×1 — Descendant (narrower)
Introduced files:
abstractJsonSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
snippetsSync.ts ×1 — Descendant (narrower)
Introduced files:
abstractJsonSynchronizer.ts ×6 — Descendant (narrower)
Introduced files:
promptsSync.ts ×1 — Descendant (narrower)
Introduced files:
tasksSync.ts ×1 — Descendant (narrower)
Introduced files:
settingsSync.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncService.ts ×2 — Descendant (narrower)
Introduced files:
globalStateSync.ts ×1 — Descendant (narrower)
Introduced files:
settingsSync.ts ×5 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
globalStateSync.ts ×15 — Descendant (narrower)
Introduced files:
settingsMerge.ts ×2 — Descendant (narrower)
Introduced files:
snippetsSync.ts ×1 — Descendant (narrower)
Introduced files:
promptsSync.ts ×1 — Descendant (narrower)
Introduced files:
keybindingsSync.ts ×1 — Descendant (narrower)
Introduced files:
userDataProfilesManifestMerge.ts ×1 — Descendant (narrower)
Introduced files:
snippetsSync.ts ×5 — Descendant (narrower)
Introduced files:
promptsSync.ts ×5 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×2 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
keybindingsSync.ts ×5 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.test|title=UserDataSyncStoreService test session id header is not set in the first manifest request after session is created|occurrence=1 — Descendant (narrower)
Introduced tests:
userDataSyncStoreService.test|title=UserDataSyncStoreService test read manifest for the first time|occurrence=1, userDataSyncStoreService.test|title=UserDataSyncStoreService test read manifest for the second time when session is not yet created|occurrence=1 — Descendant (narrower)
Introduced tests:
settingsSync.ts ×13 — Descendant (narrower)
Introduced files:
userDataSyncClient.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×2 — Descendant (narrower)
Introduced files:
configurationService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSync.ts ×4 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×6 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×10 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncClient.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×36 — Descendant (narrower)
Introduced files:
keybindingsMerge.ts ×2 — Descendant (narrower)
Introduced files:
keybindingsMerge.ts ×12 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×5 — Descendant (narrower)
Introduced files:
serviceMachineId.ts ×4 — Descendant (narrower)
Introduced files:
configurationService.ts ×3 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×2 — Descendant (narrower)
Introduced files:
userDataProfileStorageService.ts ×2 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×8 — Descendant (narrower)
Introduced files:
userDataProfile.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×4 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×5 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×4 — Descendant (narrower)
Introduced files:
storage.ts ×3 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
storage.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×4 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
instantiationServiceMock.ts ×1 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×3 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurations.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×2 — Descendant (narrower)
Introduced files:
configurationModels.ts ×3 — Descendant (narrower)
Introduced files:
configurationModels.ts ×2 — Descendant (narrower)
Introduced files:
configurations.ts ×4 — Descendant (narrower)
Introduced files:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×6 — Descendant (narrower)
Introduced files:
globalStateMerge.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
objects.ts ×1 — Descendant (narrower)
Introduced files:
settingsMerge.ts ×1 — Descendant (narrower)
Introduced files:
settingsMerge.ts ×1 — Descendant (narrower)
Introduced files:
settingsMerge.ts ×1 — Descendant (narrower)
Introduced files:
settingsMerge.ts ×1 — Descendant (narrower)
Introduced files:
streamToBuffer|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
stream.test|title=Stream toStream|occurrence=1 — Descendant (narrower)
Introduced tests:
extensionManagement.test|title=Extension Identifier Pattern extension identifier pattern|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer concat|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationServiceMock.ts ×3 — Descendant (narrower)
Introduced files:
instantiationServiceMock.ts ×8 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
async.test|title=Async Delayer ThrottledDelayer promise should resolve if disposed|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.test|title=Instantiation Service @Param - fixed args|occurrence=1, instantiationService.test|title=Instantiation Service @Param - simple clase|occurrence=1 — Descendant (narrower)
Introduced tests:
async.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×3 — Descendant (narrower)
Introduced files:
files.ts ×5 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
stream.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×3 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchtree.test|title=Ternary Search Tree PathIterator|occurrence=1 — Descendant (narrower)
Introduced tests:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
resources.test|title=Resources isAbsolute|occurrence=1 — Descendant (narrower)
Introduced tests:
ternarySearchTree.ts ×2 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×4 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×5 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
resources.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×2 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×1 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
strings.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
timeTravelScheduler.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
json.ts ×2 — Descendant (narrower)
Introduced files:
json.ts ×2 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, always slash|occurrence=1, uri.test|title=URI class URI cannot represent relative file paths #34449|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
snippetsMerge.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
path.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
lazy.test|title=Lazy lazy values should only be resolved once|occurrence=1 — Descendant (narrower)
Introduced tests:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
1 test introduced at this concept.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
2 files ranked by introduced lines: 13 introduced LOC across 5 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/userDataSync/common/userDataSyncService.ts 7 introduced LOC · 3 ranges
Open complete file
396
const result = await this . performAction ( this . userDataProfilesService . defaultProfile , async synchronizer => {
397
if ( await synchronizer . hasPreviouslySynced ()) {
399
>
}
400
return undefined ;
401
});
536
const activeProfileSyncronizer = this . activeProfileSynchronizers . get ( profile . id );
537
if ( activeProfileSyncronizer ) {
538
>
const result = await this . performActionWithProfileSynchronizer ( activeProfileSyncronizer [ 0 ], action , disposables );
userDataSyncService.ts
539
>
return isUndefined ( result ) ? null : result ;
540
>
}
541
542
if ( profile . isDefault ) {
572
const result = await action ( synchronizer );
573
if ( ! isUndefined ( result )) {
575
>
}
576
}
577
return undefined ;
src/vs/platform/userDataSync/common/userDataAutoSyncService.ts 6 introduced LOC · 2 ranges
Open complete file
491
// Server has no data but this machine was synced before
492
if ( this . manifest === null && await this . userDataSyncService . hasPreviouslySynced ()) {
494
if ( await this . hasDefaultServiceChanged ()) {
495
throw new UserDataAutoSyncError ( localize ( 'default service changed' , "Cannot sync because default service has changed" ), UserDataSyncErrorCode . DefaultServiceChanged );
497
throw new UserDataAutoSyncError ( localize ( 'service changed' , "Cannot sync because sync service has changed" ), UserDataSyncErrorCode . ServiceChanged );
498
}
500
>
// Sync was turned off in the cloud
501
>
throw new UserDataAutoSyncError ( localize ( 'turned off' , "Cannot sync because syncing is turned off in the cloud" ), UserDataSyncErrorCode . TurnedOff );
502
>
}
503
>
}
504
505
const sessionId = this . storageService . get ( sessionIdKey , StorageScope . APPLICATION );