pub fn publish(
disk: &DiskCache,
store: &SharedStore,
secret: &SecretKey,
options: &PublishOptions,
unknown_ok: &dyn Fn(Option<&Effort>) -> bool,
) -> PublishReportExpand description
Exports disk’s entries to store, signed with secret.
Only entries the local daemon recorded from the pinned solver
(provenance PINNED_SOLVER) with a recorded solver identity are
exported; entries that came from the shared tier never are. An
unknown answer is exported only if unknown_ok accepts its effort
(the serving policy, ADR 0009). An entry the store already holds,
signed by this key, is left alone.