MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / push

Method push

daemon/src/service/system_visual_data.ts:13–20  ·  view source on GitHub ↗
(data: T)

Source from the content-addressed store, hash-verified

11 }
12
13 push(data: T) {
14 if (this.arr.length < this.maxSize) {
15 this.arr.push(data);
16 } else {
17 this.arr.shift();
18 this.arr.push(data);
19 }
20 }
21
22 getArray() {
23 return this.arr;

Callers 15

getWindowsDisksFunction · 0.45
registerScheduleJobMethod · 0.45
listScheduleJobMethod · 0.45
downloadFromUrlMethod · 0.45
chmodMethod · 0.45
zipMethod · 0.45
checkInstanceDiskSizeMethod · 0.45
#startCheckMethod · 0.45
useMethod · 0.45
scanDirMethod · 0.45
getModConfigMethod · 0.45
getSupportedPlatformsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected