Skip to main content

validate_group

Function validate_group 

Source
pub fn validate_group(group: &str) -> Result<&str>
Expand description

Validate a widget group string before any store / transport work.

  • Non-empty
  • Charset: ASCII alphanumeric, ., _, - only
  • Rejects . / .. (path-segment traps)
  • On Apple targets: must start with group. and have a non-trap suffix