Skip to main content

model_ref_dispatch

Function model_ref_dispatch 

Source
pub fn model_ref_dispatch(s: &str) -> ModelRefDispatch<'_>
Expand description

Classify a modelRef string into its grammar arm (#395 prefix dispatch).

This is the pure prefix-detection core of ModelService::resolve_model_ref; it performs no I/O and no validation, so it can be unit-tested in isolation.