Repo

Get stats for the currently used repo.

Arguments

Arguments

Description

Type

Required?

size-only

Only report RepoSize and StorageMax.

boolean

N

human

Print sizes in human readable format (e.g., 1K 234M 2G).

boolean

N

poll

Print bandwidth at an interval.

boolean

N

interval

Time interval to wait between updating output, if 'poll' is true.

This accepts durations such as “300s”, “1.5h” or “2h45m”. Valid time units are: “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. Default: “1s”.

string

N

quiet

Write minimal output.

boolean

N

key

Name of the key to be used or a valid PeerID, as listed by btfs key list -l. Default: "self".

string

N

quieter

Write only final hash.

boolean

N

Language
Click Try It! to start a request and see the response here!