Skip to main content

Crate rfc9162_sidecar

Crate rfc9162_sidecar 

Source
Expand description

rfc9162-sidecar: the sidecar from a shell. The sidecar of a project at DIR is the pack at DIR/.sidecar/pack; every command opens it, takes the writer lock for the moment it runs, and prints one line per thing.

rfc9162-sidecar init    --dir DIR
rfc9162-sidecar sync    --dir DIR [--skip NAME]... [--meta K=V]...
rfc9162-sidecar snapshot --dir DIR --key KEY.pem --origin ORIGIN
rfc9162-sidecar history --dir DIR PATH
rfc9162-sidecar tree    --dir DIR [SIZE]
rfc9162-sidecar diff    --dir DIR FROM TO
rfc9162-sidecar blob    --dir DIR HEX [--out FILE]
rfc9162-sidecar include --dir DIR PATH --note FILE --trusted KEYLINE... [--meta K=V]...

Status 0 is done, 2 is a command line this binary does not take, 1 is a store or a proof that did not answer.

Structsยง

Args ๐Ÿ”’

Constantsยง

SIDECAR_DIR ๐Ÿ”’

Functionsยง

describe ๐Ÿ”’
main ๐Ÿ”’
open ๐Ÿ”’
parse ๐Ÿ”’
run ๐Ÿ”’
usage ๐Ÿ”’