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

Function formatBytes

web/scripts/ragnar_modern.js:13649–13655  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

13647 warnings.push('Local merge conflicts detected in /opt/pwnagotchi');
13648 } else if (gitStatus.is_dirty) {
13649 const n = (gitStatus.modified_files || []).length;
13650 warnings.push(`${n} local change${n === 1 ? '' : 's'} in /opt/pwnagotchi`);
13651 }
13652 if (gitStatus.has_stash) {
13653 warnings.push(`${gitStatus.stash_entries} stash ${gitStatus.stash_entries === 1 ? 'entry' : 'entries'} present`);
13654 }
13655 if (gitStatus.status_error) {
13656 warnings.push(gitStatus.status_error);
13657 }
13658 _setPwnUpdateWarnings(warnings);

Callers 9

displayFilesFunction · 0.70
previewFileFunction · 0.70
updateTrafficSummaryFunction · 0.70
loadTrafficHostsFunction · 0.70
loadTrafficConnectionsFunction · 0.70
loadTrafficTopTalkersFunction · 0.70
showTrafficHostDetailFunction · 0.70
showTrafficPortDetailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected