extensionsScannerService.ts ×6

Frontier kind: Joint frontier

unlabeled · c_ac58788ca45b

4 tests · 16265 LOC · 82 files · introduces 1 test · 26 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges26 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
2091 ranges16265 lines · 82 files · Browse complete extent
All tests (intent)
4 testsBrowse complete intent

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.

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.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

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.

1 file ranked by introduced lines: 26 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/extensionManagement/common/extensionsScannerService.ts 26 introduced LOC · 6 ranges

Open complete file

67 export namespace Translations {
68 export function equals(a: Translations, b: Translations): boolean {
69 > if (a === b) { extensionsScannerService.ts
70 return true;
71 }
72 > const aKeys = Object.keys(a); extensionsScannerService.ts
73 > const bKeys: Set<string> = new Set<string>();
74 > for (const key of Object.keys(b)) {
75 bKeys.add(key);
76 }
77 > if (aKeys.length !== bKeys.size) { extensionsScannerService.ts
78 return false;
79 }
81 > for (const key of aKeys) {
82 if (a[key] !== b[key]) {
83 return false;
560
561 public static equals(a: ExtensionScannerInput, b: ExtensionScannerInput): boolean {
563 > isEqual(a.location, b.location)
564 > && a.mtime === b.mtime
565 > && isEqual(a.applicationExtensionslocation, b.applicationExtensionslocation)
566 > && a.applicationExtensionslocationMtime === b.applicationExtensionslocationMtime
567 > && a.profile === b.profile
568 > && objects.equals(a.profileScanOptions, b.profileScanOptions)
569 > && a.type === b.type
570 > && a.validate === b.validate
571 > && a.productVersion === b.productVersion
572 > && a.productDate === b.productDate
573 > && a.productCommit === b.productCommit
574 > && a.devMode === b.devMode
575 > && a.language === b.language
576 > && Translations.equals(a.translations, b.translations)
577 > );
578 > }
579 }
580