Skip to main content

parse_content_with_default_name

Function parse_content_with_default_name 

Source
fn parse_content_with_default_name(
    content: &str,
    default_name: Option<String>,
) -> Result<MappingTranslatorMap, MappingParseError>
Expand description

Parse content of file and return a MappingTranslatorMap, falling back to default_name if no name is found in the file.