Skip to main content

require_own_block_transcript

Function require_own_block_transcript 

Source
pub(crate) fn require_own_block_transcript(
    ctx: &RpcContext,
    store: &Store,
    block_id: &str,
    what: &str,
) -> Result<(), String>
Expand description

require_own_transcript for a call that names a pane’s block instead of an agent: the archive or restore of that block’s transcript. An agent’s connection may act only on the block its own agent is running on (a block with no running agent is the window’s alone); any other connection must be the AgentMux window, proven by the host.