Skip to main content

from_message

Function from_message 

Source
fn from_message(
    cmd: CommandPaneOpenData,
    meta: &MetaMapType,
    snapshots: Option<&Path>,
) -> Result<(CommandPaneOpenData, Option<Snapshot>), String>
Expand description

A file or a link clicked in a message of the container agent whose pane is meta: the file the agent’s own folders hold under that path, as a read-only copy named as the container names it, or a folder of them, as a Files pane confined to it. A path anywhere else, and one that leads out of the folder through a link, is refused with the reason; so is an open on another computer.