Skip to main content

validate_label

Function validate_label 

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

Validate that a graph label is non-empty and free of the reserved sigils: no @ anywhere (it builds the @<label> namespace) and no leading _ (reserved for keys like _graphs). Interior _ is allowed.