MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / getValue

Function getValue

web/pgadmin/dashboard/static/js/SystemStats/Storage.jsx:411–418  ·  view source on GitHub ↗
(type, v)

Source from the content-addressed store, hash-verified

409 }
410
411 function getValue(type, v) {
412 if (type.endsWith('_time_rw'))
413 return toPrettySize(v, 'ms');
414 if (type.endsWith('_total_rw'))
415 return toPrettySize(v, '');
416
417 return toPrettySize(v);
418 }
419
420 return (
421 <Root>

Callers 3

CellFunction · 0.85
CellFunction · 0.85
StorageWrapperFunction · 0.85

Calls 1

toPrettySizeFunction · 0.90

Tested by

no test coverage detected