Skip to main content

Module push

Module push 

Source
Expand description

Push pipeline — build output to NAR to sign to upload.

Takes a store path, dumps it as NAR, compresses it under the configured NarCodec, builds narinfo metadata, signs it, and uploads both to the configured storage backend.

The codec is typed configuration, not a compile-time constant: it is a field of CacheConfig, which is a shikumi::TieredConfig (★★ CONFIGURATION MANAGEMENT). See NarCodec for why zstd is the prescribed default and why the level rides inside the codec rather than beside it.

Structs§

LevelOutOfRange
A compression level that fell outside its codec’s accepted band.
PushResult
Result of pushing a single store path.
XzLevel
An xz preset known to be inside the accepted band (0..=9).
ZstdLevel
A zstd compression level known to be inside the accepted band.

Enums§

NarCodec
How a NAR is packed for the cache.

Functions§

push_path
Push a store path to the binary cache.