MCPcopy Index your code
hub / github.com/buildbot/buildbot / clear

Method clear

www/data-module/src/data/DataCollection.ts:194–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 }
193
194 @action clear() {
195 this.array.replace([]);
196 }
197
198 @action deleteFromArray(element: DataType) {
199 const index = this.array.indexOf(element);

Callers 15

clearLinesMethod · 0.45
assertRenderToSnapshotFunction · 0.45
assertRenderToSnapshotFunction · 0.45
clearItemsMethod · 0.45
clearActionsMethod · 0.45
initialMethod · 0.45
onCloseMethod · 0.45
cancelMethod · 0.45
setupSiteMethod · 0.45
test_split_newlinesMethod · 0.45
addBuildMethod · 0.45

Calls

no outgoing calls

Tested by 4

assertRenderToSnapshotFunction · 0.36
assertRenderToSnapshotFunction · 0.36
test_split_newlinesMethod · 0.36
addBuildMethod · 0.36