Skip to main content

agent_writes_meta_of

Function agent_writes_meta_of 

Source
pub(crate) fn agent_writes_meta_of(
    mstore: &Store,
    ctx: &RpcContext,
    oref: &str,
) -> Result<(), String>
Expand description

Whether the connection ctx may write the meta of oref (block:<id>, tab:<id>, …): always, unless it is registered as an agent. An agent writes the meta of its own pane; a tab, window, workspace or any other object holds the person’s layout, names and settings, so it is refused with what to do instead.