userDataAutoSyncService.ts ×1
Frontier kind: Joint frontier
unlabeled · c_38ed2197bf35
1 test · 29137 LOC · 134 files · introduces 1 test · 12 LOC · 2 files
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 12 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.
userDataAutoSyncService.ts ×1 — Focused concept
Introduced files:
Introduced tests:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncMachines.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×2 — Descendant (narrower)
Introduced files:
userDataSyncMachines.ts ×2 — Descendant (narrower)
Introduced files:
userDataSyncMachines.ts ×3 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncMachines.ts ×8 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×1 — Descendant (narrower)
Introduced files:
userDataAutoSyncService.ts ×7 — Descendant (narrower)
Introduced files:
userDataSyncService.ts ×3 — 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:
userDataAutoSyncService.ts ×37 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
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:
userDataSyncService.test|title=UserDataSyncService test first time sync ever when a sync resource is disabled|occurrence=1 — Descendant (narrower)
Introduced tests:
userDataSyncService.ts ×2 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncClient.ts ×1 — Descendant (narrower)
Introduced files:
abstractSynchronizer.ts ×2 — Descendant (narrower)
Introduced files:
settingsSync.ts ×8 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.test|title=UserDataSyncStoreService test headers are send for read request|occurrence=1 — Descendant (narrower)
Introduced tests:
settingsMerge.ts ×2 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.test|title=UserDataSyncStoreService test session id header is set from the second manifest request after session is created|occurrence=1 — Descendant (narrower)
Introduced tests:
userDataSyncStoreService.test|title=UserDataSyncStoreService test headers are send for write request|occurrence=1 — Descendant (narrower)
Introduced tests:
abstractSynchronizer.ts ×2 — 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:
userDataSyncClient.ts ×1 — 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:
userDataSyncStoreService.ts ×6 — Descendant (narrower)
Introduced files:
userDataSyncClient.ts ×5 — Descendant (narrower)
Introduced files:
userDataSyncClient.ts ×1 — Descendant (narrower)
Introduced files:
request.ts ×1 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×10 — Descendant (narrower)
Introduced files:
userDataSyncStoreService.ts ×36 — Descendant (narrower)
Introduced files:
userDataSync.ts ×1 — 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:
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:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×6 — 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 ×1 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
storage.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×5 — 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:
storage.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 ×5 — Descendant (narrower)
Introduced files:
configurationModels.ts ×1 — Descendant (narrower)
Introduced files:
configurationModels.ts ×2 — 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:
platform.ts ×1 — Descendant (narrower)
Introduced files:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
objects.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:
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 ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×3 — 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:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×6 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchtree.test|title=Ternary Search Tree TernarySearchTree (PathSegments) - lookup|occurrence=1 — Descendant (narrower)
Introduced tests:
files.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:
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 ×5 — 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:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — 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:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×5 — 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 ×2 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×10 — 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 ×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:
ternarySearchTree.ts ×6 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×8 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.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:
strings.ts ×1 — Descendant (narrower)
Introduced files:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
strings.ts ×3 — Descendant (narrower)
Introduced files:
strings.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×17 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×3 — Descendant (narrower)
Introduced files:
event.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:
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:
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:
lazy.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — 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:
utils.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×2 — 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: 12 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/userDataSync/common/userDataSyncMachines.ts 9 introduced LOC · 1 range
Open complete file
139
140
async setEnablements ( enablements : [ string , boolean ][]) : Promise < void > {
142
>
for ( const [ machineId , enabled ] of enablements ) {
143
>
const machine = machineData . machines . find ( machine => machine . id === machineId );
144
>
if ( machine ) {
145
>
machine . disabled = enabled ? undefined : true ;
146
>
}
147
>
}
148
>
await this . writeMachinesData ( machineData );
149
>
}
150
151
private computeCurrentMachineName ( machines : IMachineData []) : string {
src/vs/platform/userDataSync/common/userDataAutoSyncService.ts 3 introduced LOC · 1 range
Open complete file
526
// Check if sync was turned off from other machine
527
if ( currentMachine ? . disabled ) {
529
>
throw new UserDataAutoSyncError ( localize ( 'turned off machine' , "Cannot sync because syncing is turned off on this machine from another machine." ), UserDataSyncErrorCode . TurnedOff );
530
>
}
531
532
const startTime = new Date (). getTime ();