MCPcopy
hub / github.com/buildbot/buildbot / filter

Method filter

www/data-module/src/data/DataQuery.ts:90–100  ·  view source on GitHub ↗
(array: any[])

Source from the content-addressed store, hash-verified

88 }
89
90 filter(array: any[]) {
91 let i = 0;
92 while (i < array.length) {
93 const v = array[i];
94 if (this.isAllowedByFilters(v)) {
95 i += 1;
96 } else {
97 array.splice(i, 1);
98 }
99 }
100 }
101
102 applySort(array: any[]) {
103 const order = this.order;

Callers 15

filterMethod · 0.95
resolveGridDataFunction · 0.45
ConsoleView.tsxFile · 0.45
tableElementFunction · 0.45
doActionFunction · 0.45
handleSelectAllClickFunction · 0.45
BuildSummary.tsxFile · 0.45
assertRenderToSnapshotFunction · 0.45
WorkersView.tsxFile · 0.45
ProjectsView.tsxFile · 0.45

Calls 1

isAllowedByFiltersMethod · 0.95

Tested by 2

filterMethod · 0.76
assertRenderToSnapshotFunction · 0.36