pub(crate) fn for_person(
cmd: &mut CommandPaneOpenData,
root: Option<&Path>,
within: &Path,
file: &Path,
of: String,
) -> Result<Snapshot, String>Expand description
A file of a container agent’s folder for a pane the person asked for: cmd is turned to open a read-only
copy of file, which lies in the folder within (both resolved), kept under root. of is what the pane
calls it. The person may open a picture or a recording this way, so the larger limit holds.