pub fn whole_file_format(path: &Path) -> Option<Format>Expand description
The whole-file metadata format implied by path’s extension, if any.
These are the extensions prov treats as config documents.
Each extension is recognized only when its format feature is compiled in: a
.json file is a config document under the json feature, and an ordinary
(metadata-less) prose document without it. This keeps prov from claiming
to read a format whose parser was left out of the build.