Skip to main content

parse_file_with_options

Function parse_file_with_options 

Source
pub fn parse_file_with_options<P: AsRef<Path>>(
    path: P,
    opts: ParseOptions,
) -> Result<Config, HoconError>
Expand description

Parse a HOCON file with explicit ParseOptions. File’s parent directory is used as base_dir (overrides opts.base_dir).