fun formatSize()

in ruler-frontend/src/jsMain/kotlin/com/spotify/ruler/frontend/Formatting.kt [24:27]


fun formatSize(measurable: Measurable, sizeType: Measurable.SizeType): String {
    val bytes = measurable.getSize(sizeType)
    return formatSize(bytes)
}