MCPcopy Create free account
hub / github.com/nodejs/node / selectEntries

Method selectEntries

deps/v8/tools/system-analyzer/index.mjs:152–160  ·  view source on GitHub ↗
(entries)

Source from the content-addressed store, hash-verified

150 }
151
152 selectEntries(entries) {
153 const missingTypes = App.allEventTypes;
154 groupBy(entries, each => each.constructor, true).forEach(group => {
155 this.selectEntriesOfSingleType(group.entries);
156 missingTypes.delete(group.key);
157 });
158 missingTypes.forEach(
159 type => this.selectEntriesOfSingleType([], type, false));
160 }
161
162 selectEntriesOfSingleType(entries, type, focusView = true) {
163 const entryType = entries[0]?.constructor ?? type;

Callers 2

selectRelatedEntriesMethod · 0.95
handleSelectEntriesMethod · 0.95

Calls 4

groupByFunction · 0.90
forEachMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected