Skip to main content

validate_storage_name

Function validate_storage_name 

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

Validate storage name format (lowercase alphanumeric with hyphens)

§Errors

Returns a validation error if the storage name format is invalid.

§Panics

Panics if the regex pattern is invalid (should never happen with a static pattern).