Skip to main content

declared_format

Function declared_format 

Source
pub fn declared_format(path: &Path, table: &FormatTable) -> Option<String>
Expand description

The format id a file’s extension declares, when the table knows it.

Needs no file access, so it works for a file the run cannot read.