Skip to main content

try_prepare_path

Function try_prepare_path 

Source
pub fn try_prepare_path(
    registry: &ExtensionRegistry<'_>,
    cache: &mut PreparedCallCache,
    path: &str,
    target_profile: TargetProfileMask,
) -> Result<Option<PreparedCallHandle>, VibeTrap>
Expand description

Resolves a dotted or canonical IRI call path against registry into a PreparedCallHandle.

Supports:

  • 3-part dotted path: "mech.kinematics.verlet_step", "https://.../mechanics.kinematics.verlet_step"
  • 2-part dotted path: "mech.verlet_step" (searches sub-namespaces of provider "mech")
  • Full canonical function IRI: "https://qualiadb.org/ext/etalon/mechanics/kinematics/verlet_step"