pub fn detect_database_file_format(path: &Path) -> Result<DatabaseFileFormat>Expand description
Classify the on-disk format of path by reading its first bytes.
Only returns Err for I/O failures other than “file not found”;
a missing or empty file is reported as DatabaseFileFormat::Missing.