pub fn is_trusted(
doc: &LayoutDoc,
path: &Path,
own_instance: Option<&str>,
layouts_dir: Option<&Path>,
) -> boolExpand description
Whether a file counts as trusted (spec §3.5): saved by this install and sitting in its default layouts folder. Only trusted files start terminal commands without the user’s say-so.