list_available_schemas

Function list_available_schemas 

Source
pub fn list_available_schemas(ctx: &ConfigContext) -> Vec<String>
Expand description

Lists available schema names discovered from the project, user, embedded, and package schema locations.

The result contains unique schema names and is deterministically sorted.

§Returns

A sorted, de-duplicated Vec<String> of available schema names.

§Examples

// `ctx` should be a prepared `ConfigContext` for the current project.
let names = list_available_schemas(&ctx);
assert!(names.iter().all(|s| !s.is_empty()));