package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

dune-project
 Dependency

Authors

Maintainers

Sources

progress-0.5.0.tbz
sha256=7f87f0597363928c45ba859ae5a1430f6aa3c29e251ff1a53cf786ed0e045961
sha512=45dee4fe2ae0b7fc3ca675f6e854d738873eb608ef9155ea5d7edac4639c183ae1f512847a1b43bdfc1f4c459e7d5b44d03ee809455797e680f890b33d531367

doc/progress.engine/Progress_engine/Make/Units/Bytes/index.html

Module Units.BytesSource

Prints a numeric value as as a byte count.

  0                ↦  "   0.0 B  "
  999              ↦  " 999.0 B  "
  1024             ↦  "   1.0 KiB"
  1024 * 1023      ↦  "1023.0 KiB"
  1024 * 1024 - 1  ↦  "1023.9 KiB"
Sourceval generic : (module Integer.S with type t = 't) -> 't Progress_engine__.Printer.t
Sourceval of_int : int Progress_engine__.Printer.t
Sourceval of_float : float Progress_engine__.Printer.t
Sourceval of_int64 : int64 Progress_engine__.Printer.t

Quick builders for base-2 byte counts

Sourceval kib : int -> int64

kib n is n kibibytes.

Sourceval mib : int -> int64

mib n is n mebibytes.

Sourceval gib : int -> int64

gib n is n gibibytes.

Sourceval tib : int -> int64

tib n is n tebibytes.

Sourceval pib : int -> int64

pib n is n pebibytes.