s/ByteCountSI/ByteCountIEC/g
1 files changed, 2 insertions(+), 2 deletions(-) M helper_functions.go
M helper_functions.go +2 -2
@@ 22,9 22,9 @@ func displayFolder(c echo.Context, path table.SetHeader([]string{"TYPE", "NAME", "SIZE"}) for _, file := range files { if file.IsDir() { - table.Append([]string{"DIR", file.Name(), ByteCountSI(file.Size())}) + table.Append([]string{"DIR", file.Name(), ByteCountIEC(file.Size())}) } else { - table.Append([]string{"FILE", file.Name(), ByteCountSI(file.Size())}) + table.Append([]string{"FILE", file.Name(), ByteCountIEC(file.Size())}) } } table.Render()