Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/clone/domain/CloneProgress

Pure (DOMAIN-001): the numbers in a clone's progress, in words a person reads at a glance.

Cockpit client (features), next. Source: ui/client/features/clone/domain/CloneProgress.ts.

Functions#

formatBytes()#

formatBytes(n): string

Defined in: ui/client/features/clone/domain/CloneProgress.ts:9

Parameters#

n

number

Returns#

string


percentOf()#

percentOf(progress): number | null

Defined in: ui/client/features/clone/domain/CloneProgress.ts:4

The percentage in the tool's own progress text ("Receiving objects: 42% (4/10)"), or null.

Parameters#

progress

string

Returns#

number | null