Skip to main content

Module origin

Module origin 

Source
Expand description

Arguments for the decdn origin command group (issue #1904).

origin import seeds a cache origin store with local content: for each blob it writes the sharded data object {hex[0..2]}/{hex} and its sibling pre-order bao outboard {hex}.obao4 (per ADR 037 §Origin-tier pull-through), the exact layout the daemon reads back. It is offline, config-free local work — no running daemon, no node.toml, no chain — so it lives in its own group rather than under decdn node (whose every subcommand talks to a running node over the loopback admin surface, appendix-local-admin-http.md).

--to is a local filesystem directory: the store is written to disk and nowhere else. An S3 origin needs no separate writer, because the fs and S3 object layouts are byte-identical — import to a directory and aws s3 sync it up to the bucket.

Structs§

OriginArgs
Top-level decdn origin group.
OriginImportArgs
decdn origin import — seed a cache origin store from a local file or tree.

Enums§

OriginCommand
Subcommands under decdn origin.