userDataProfileStorageService.ts ×2
Frontier kind: Code frontier
unlabeled · c_8842cd6b6aa2
46 tests · 14467 LOC · 65 files · introduces 0 tests · 4 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 4 lines · 1 files
Tests
0 tests
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.
userDataProfileStorageService.ts ×2 — Focused concept
Introduced files:
globalStateSync.test|title=GlobalStateSync sync profile state|occurrence=1 — Ancestor (broader)
Introduced tests:
globalStateSync.test|title=GlobalStateSync first time sync - incoming from server (no state)|occurrence=1 — Ancestor (broader)
Introduced tests:
globalStateSync.test|title=GlobalStateSync first time sync when storage exists|occurrence=1 — Ancestor (broader)
Introduced tests:
globalStateSync.test|title=GlobalStateSync first time sync when storage exists - has conflicts|occurrence=1 — Ancestor (broader)
Introduced tests:
globalStateSync.ts ×2 — Ancestor (broader)
Introduced files:
userDataAutoSyncService.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1 — Ancestor (broader)
Introduced tests:
userDataAutoSyncService.test|title=ProfileStorageService write in storage with data|occurrence=1 — Ancestor (broader)
Introduced tests:
userDataAutoSyncService.test|title=ProfileStorageService write in empty storage|occurrence=1 — Ancestor (broader)
Introduced tests:
mcpSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1, tasksSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1, +10 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/globalStateSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/keybindingsMerge.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/keybindingsSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/mcpSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/promptsSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/settingsSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/snippetsSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/synchronizer.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/tasksSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/userDataProfilesManifestSync.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/userDataSyncService.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/userDataSyncStoreService.test|title=ProfileStorageService write in storage with data (insert, update, remove)|occurrence=1
mcpSync.test|title=ProfileStorageService write in storage with data|occurrence=1, tasksSync.test|title=ProfileStorageService write in storage with data|occurrence=1, +10 — Ancestor (broader)
Introduced tests:
mcpSync.test|title=ProfileStorageService write in empty storage|occurrence=1, tasksSync.test|title=ProfileStorageService write in empty storage|occurrence=1, +10 — Ancestor (broader)
Introduced tests:
storage.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
userDataProfileStorageService.test|title=ProfileStorageService write in storage with data|occurrence=1 — Ancestor (broader)
Introduced tests:
userDataProfileStorageService.test|title=ProfileStorageService write in empty storage|occurrence=1 — Ancestor (broader)
Introduced tests:
storage.ts ×1 — Ancestor (broader)
Introduced files:
storage.ts ×2 — Ancestor (broader)
Introduced files:
userDataProfileStorageService.ts ×3 — Descendant (narrower)
Introduced files:
userDataProfileStorageService.ts ×2 — Descendant (narrower)
Introduced files:
storageIpc.ts ×22 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
storage.ts ×1 — Descendant (narrower)
Introduced files:
storage.ts ×5 — Descendant (narrower)
Introduced files:
storage.ts ×5 — Descendant (narrower)
Introduced files:
storage.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×8 — Descendant (narrower)
Introduced files:
storage.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×7 — Descendant (narrower)
Introduced files:
storage.ts ×2 — Descendant (narrower)
Introduced files:
storage.ts ×3 — Descendant (narrower)
Introduced files:
storage.ts ×41 — Descendant (narrower)
Introduced files:
userDataProfile.ts ×1 — Descendant (narrower)
Introduced files:
userDataProfile.ts ×28 — Descendant (narrower)
Introduced files:
environment.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
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:
async.ts ×1 — Descendant (narrower)
Introduced files:
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 ×202 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — Descendant (narrower)
Introduced files:
uriIdentity.ts ×1 — Descendant (narrower)
Introduced files:
workspace.ts ×27 — 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 ×41 — Descendant (narrower)
Introduced files:
resources.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
runWithFakedTimers.ts ×3 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×60 — Descendant (narrower)
Introduced files:
processor.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:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×3 — Descendant (narrower)
Introduced files:
embedding.ts ×2 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
processor.ts ×5 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
virtualClock.ts ×1 — Descendant (narrower)
Introduced files:
virtualClock.ts ×3 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×9 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
processor.ts ×13 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken cancel happens only once|occurrence=1 — Descendant (narrower)
Introduced tests:
cancellation.test|title=CancellationToken dispose calls no listeners|occurrence=1 — Descendant (narrower)
Introduced tests:
virtualScheduling.test|title=virtualScheduling - createVirtualTimeApi without processor virtual Date.now() returns clock time|occurrence=1 — Descendant (narrower)
Introduced tests:
virtualTimeApi.ts ×7 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
virtualClock.ts ×1 — Descendant (narrower)
Introduced files:
trace.ts ×2 — Descendant (narrower)
Introduced files:
runWithFakedTimers.ts ×2 — Descendant (narrower)
Introduced files:
embedding.ts ×1 — Descendant (narrower)
Introduced files:
trace.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
timeTravelScheduler.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
traceLogger.ts ×3 — 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 ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken token stays the same|occurrence=1 — Descendant (narrower)
Introduced tests:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×4 — Descendant (narrower)
Introduced files:
cancellation.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×8 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — 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:
event.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
marshalling.ts ×4 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
scanner.ts ×36 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×14 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, no path-is-uri check|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×3 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication mixed unique and duplicate IDs|occurrence=1, languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication creates new entry when none exists|occurrence=1, +4 — Descendant (narrower)
Introduced tests:
performance.ts ×1 — Descendant (narrower)
Introduced files:
utils.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uuid.test|title=UUID generation|occurrence=1 — Descendant (narrower)
Introduced tests:
types.test|title=Types isUndefinedOrNull|occurrence=1 — Descendant (narrower)
Introduced tests:
types.test|title=Types isUndefined|occurrence=1 — Descendant (narrower)
Introduced tests:
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:
path.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
performance.ts ×6 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — 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 ×3 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
iterator.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 4 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/userDataProfile/common/userDataProfileStorageService.ts 4 introduced LOC · 2 ranges
Open complete file
83
84
async updateStorageData ( profile : IUserDataProfile , data : Map < string , string | undefined | null >, target : StorageTarget , scope = StorageScope . PROFILE ) : Promise < void > {
85
>
return this . withProfileScopedStorageService ( profile , async storageService => this . writeItems ( storageService , data , target , scope ));
userDataProfileStorageService.ts
86
>
}
87
88
async withProfileScopedStorageService < T >( profile : IUserDataProfile , fn : ( storageService : IStorageService ) => Promise < T >) : Promise < T > {
135
136
private writeItems ( storageService : IStorageService , items : Map < string , string | undefined | null >, target : StorageTarget , scope = StorageScope . PROFILE ) : void {
138
>
}
139
140
protected abstract createStorageDatabase ( profile : IUserDataProfile ) : Promise < IStorageDatabase >;