File

teal-src/util/human/units.d.tl @ 12179:5e68635cdc2c

mod_http_file_share: Always measure total disk usage for statistics! Metrics available or not depending on configuration is weird, even tho it might be expensive to calculate and it's only really needed when there is a global quota. Default quota is set to infinity, which is essentially what it was. Reports NaN if there is an error, which should count as over the infinite default quota.
author Kim Alvefur <zash@zash.se>
date Tue, 11 Jan 2022 04:15:29 +0100
parent 11432:113f3912c7cb
child 12608:946a11f794e2
line wrap: on
line source

local lib = record
	adjust : function (number, string) : number, string
	format : function (number, string, string) : string
end
return lib