pub fn preview_metadata(files: &Files, path: &Path) -> Result<Value, String>
A path’s preview metadata, as file.preview gives it: made now from the providers if it is not in the cache. Metadata only: no pixels and no text.
file.preview