fn pick_source(
filestore: &Arc<FileStore>,
global: Option<&Arc<FileStore>>,
mstore: &Arc<Store>,
block_id: &str,
) -> (Arc<FileStore>, String, String)Expand description
Which store and zone a block’s transcript is read from: the same rule
blockfile:read_range and blockfile:line_count use (global_output_source:
the agent’s global zone when the block has a valid agentId, is not archived
and the zone has content, the block’s own otherwise), so the first screen and
the older pages the pane reads next come from one file. Decided here from a
reader snapshot rather than stat, which takes the writer mutex on a cache miss.