MCPcopy
hub / github.com/buildbot/buildbot / sort

Method sort

www/data-module/src/data/DataQuery.test.ts:19–24  ·  view source on GitHub ↗
(array: any[], order: any)

Source from the content-addressed store, hash-verified

17 }
18
19 sort(array: any[], order: any) {
20 const q = new DataQuery({order});
21 array = [...array];
22 q.applySort(array);
23 return array;
24 }
25 limit(array: any[], limit: number) {
26 const q = new DataQuery({limit});
27 array = [...array];

Callers 15

resolveGridDataFunction · 0.80
GridView.tsxFile · 0.80
buildTagTreeFunction · 0.80
walkItemTreeFunction · 0.80
ConsoleView.tsxFile · 0.80
tableElementFunction · 0.80
BuildsTable.tsxFile · 0.80
sortLinesMethod · 0.80
BuildersTable.tsxFile · 0.80
assertRenderToSnapshotFunction · 0.80

Calls 1

applySortMethod · 0.95

Tested by

no test coverage detected