Skip to main content

schema_path_for_section

Function schema_path_for_section 

Source
pub fn schema_path_for_section(
    root_schema_path: &Path,
    section_path: &[&str],
) -> PathBuf
Expand description

Resolves the output path for a split section schema.

§Arguments

  • root_schema_path: Output path for the root schema.
  • section_path: Nested section field path.

§Returns

Returns the generated schema path for section_path.

§Examples

let _ = ();