try_parse_file

Function try_parse_file 

Source
pub fn try_parse_file(repo: &Path, file: &Path) -> Option<ParsedFile>
Expand description

Tries to guess the type of weight file and parses it.

Does not return an error since it just tires to do so, not guarantee.