package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

terminal-0.2.0.tbz
sha256=7a92f6aede3d5010a30e6e47ccbc8380cc5bece8ac95c508323eb25272e6ddd3
sha512=a2ccea467e2d0e419b569992102bd2c43ff97b47f7f8413ee8fbe775ce369a80ff11e0a8fd450ebf1776f7c65baf2482076a120318c9d818488ceba0b9196639

doc/progress/Progress/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 Progress_engine.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.

OCaml

Innovation. Community. Security.