Function linefeed::inputrc::parse_file

source ·
pub fn parse_file<P: ?Sized>(filename: &P) -> Option<Vec<Directive>>where
    P: AsRef<Path>,
Expand description

Parses the named file and returns contained directives.

If the file cannot be opened, None is returned and an error is printed to stderr. If any errors are encountered during parsing, they are printed to stderr.