Skip to main content

open_or_reveal_bound

Function open_or_reveal_bound 

Source
pub(super) async fn open_or_reveal_bound(
    state: &AppState,
    cmd: FsPathReq,
    reveal: bool,
) -> Result<FsEmptyResult, String>
Expand description

fs.open / fs.reveal: a confined pane hands nothing to another program, and a file a container agent can write is opened only once the person has said yes (confirmed). Showing a file in the file manager asks nothing.