Skip to main content

tail_lines_for_readers

Function tail_lines_for_readers 

Source
pub(crate) fn tail_lines_for_readers(
    mstore: &Arc<Store>,
    filestore: &Arc<FileStore>,
    block_id: &str,
    requested: usize,
) -> Result<TailLines, String>
Expand description

tail_lines for a reader that is not the agent itself (another agent, a device): a value srv holds secret is replaced by withhold::MARK in the lines it gets, whenever the line was stored.