MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / fetchNetworkStats

Function fetchNetworkStats

web/scripts/ragnar_modern.js:13726–13739  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13724 updatePwnLogPath(null);
13725 setPwnLogIndicator(false);
13726}
13727
13728function clearPwnLogViewer(message) {
13729 const viewer = document.getElementById('pwn-log-viewer');
13730 const placeholder = document.getElementById('pwn-log-empty');
13731 if (!viewer || !placeholder) {
13732 return;
13733 }
13734 viewer.querySelectorAll('[data-pwn-log-line="true"]').forEach(line => line.remove());
13735 if (message) {
13736 placeholder.textContent = message;
13737 }
13738 placeholder.classList.remove('hidden');
13739}
13740
13741function setPwnLogIndicator(active) {
13742 const indicator = document.getElementById('pwn-log-stream-indicator');

Callers 2

loadSystemDataFunction · 0.70
refreshSystemStatusFunction · 0.70

Calls 3

errorMethod · 0.80
networkAwareFetchFunction · 0.70
updateNetworkStatsFunction · 0.70

Tested by

no test coverage detected