pub(crate) fn history_output_source(
per_channel: &Arc<FileStore>,
global: &Option<Arc<FileStore>>,
mstore: &Arc<Store>,
block_id: &str,
filename: &str,
archive_zone: Option<&str>,
) -> Result<Option<(Arc<FileStore>, String)>, String>Expand description
Where a block’s transcript is read from: with archive_zone, that
archived conversation of the block’s agent (in the global store, or the
per-channel store for an archive written before archives moved there),
refused unless it is one of that agent’s own archives; otherwise the
global current zone, as global_output_source.