Skip to main content

validate_plugin_name

Function validate_plugin_name 

Source
pub fn validate_plugin_name(name: &str) -> Result<(), String>
Expand description

Validate that name is a well-formed plugin name. Same shape as the klasp-plugin-<name> binary lookup: ASCII letters, digits, _, -. Rejects path separators, shell metachars, control chars, and empty names.