Skip to main content

sources

Function sources 

Source
pub(crate) fn sources<'a>(
    disk: &'a [BlockRef],
    open: &'a [Arc<Open>],
) -> Vec<Src<'a>>
Expand description

The published blocks under root/signal, plus any open-block snapshots that have not yet been published under the same (node, seq).

The published copy wins a collision: it is at least as complete, and it is the one whose cursors readers already hold. (node, seq) is enough to recognise it because the flusher snapshots under the sequence it will publish under — see crate::signal::Open.