Function validate_path_name

Source
pub fn validate_path_name(
    api: &dyn Api,
    path: String,
) -> Result<(), ContractError>