Function validate_cluster_name
Source pub(super) fn validate_cluster_name(
cluster_name: &str,
path: &PathBuf,
byte_offset: usize,
) -> Result<(), ValidationError>
Expand description
Validates a cluster name follows naming rules.
§Arguments
cluster_name - The cluster name to validate
path - The file path (for error reporting)
§Returns
Ok(()) if valid
Err(ValidationError) if invalid