Skip to main content

turn

Function turn 

Source
fn turn(
    cmd: CommandPaneOpenData,
    from_pane: Option<PathBuf>,
    snapshots: Option<&Path>,
    place: &dyn Fn(&str) -> Place,
) -> Result<(CommandPaneOpenData, Option<Snapshot>), String>
Expand description

What bind does with the disk. from_pane is the folder of the confined pane the open came from, whose check left the file’s resolved path in cmd; snapshots is where the copies are kept.