Liking cljdoc? Tell your friends :D

net.lewisship.cli-tools.progress

Part of the job status subsystem, progress reporting converts a progress state into a progress message, which can be a simple string, or a composable string.

Part of the job status subsystem, progress reporting converts a progress state into a progress message, which can be
a simple string, or a composable string.
raw docstring

barclj

(bar completed-ratio)
(bar bar-length completed-ratio)

Returns a string representation of a bar, used when formatting progress. The default bar length (number of characters) is 30.

The bar is generated using ANSI block characters.

The ratio should be between 0.0 and 1.0.

Returns a string representation of a bar, used when formatting progress.
The default bar length (number of characters) is 30.

The bar is generated using ANSI block characters.

The ratio should be between 0.0 and 1.0.
sourceraw docstring

block-progress-formatterclj

(block-progress-formatter current target)

Basic function for displaying progress. Shows a 30 character bar, followed by the completion ratio, and the current/target values (which must be integers).

Basic function for displaying progress. Shows a 30 character bar,
followed by the completion ratio, and the current/target values
(which must be integers).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close