Function detect_open

Source
pub fn detect_open(path: &Path) -> Result<bool, Error>
Expand description

Returns true if the path looks more like OMF1 than OMF2.

Does not guarantee that the file will load. Returns an error in file open or read fails.