Skip to main content

pin_from_plugin_root

Function pin_from_plugin_root 

Source
pub fn pin_from_plugin_root(
    run: &[String],
    plugin_root: &Path,
) -> Result<Vec<String>, ScriptLawError>
Expand description

Plugin script pinning at install time: resolve the script file element to an absolute path under the plugin root, then enforce the path law.

The same law as global scripts’ “run[0] anti-shadowing” rule; plugins are not exempt.