Skip to main content

pin_block

Function pin_block 

Source
pub(crate) async fn pin_block(
    state: &AppState,
    workspace_id: &str,
    block_id: &str,
) -> Result<(), String>
Expand description

Pin the pane that holds block_id to the window of workspace workspace_id. Nothing moves. Refused for a floating pane, and by the reducer’s rules.