Skip to main content

load_workspace_schemas

Function load_workspace_schemas 

Source
pub fn load_workspace_schemas(
    schemas_dir: Option<&Path>,
) -> Result<Vec<Arc<Schema>>, EngineError>
Expand description

Walk schemas_dir and load every immediate subdirectory as a workspace-authored schema. Each subdirectory must contain a schema.yaml manifest (and optional types/*.yaml) — silently skips entries that don’t carry the manifest. pub so the folder SchemaSource and the below-boot repair path (memstead-git-branch) read through the same walker the boot path uses — one loader, no resolution fork between the booted and below-boot surfaces.