pub fn validate_name(name: &str) -> Result<()>Expand description
Validate a project or model name.
Rejects names containing path separators, parent directory references, null bytes, or other characters that could escape the intended directory.
Valid pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]{0,127}$