Skip to content

Don't create temporary buffer to detect mimetype for saved local file

Milian Wolff requested to merge (removed):better-mimetype-detection into master

When the file is saved and local, we can just ask for the mimetype directly. We don't need to create a buffer first, which just wastes time in this context.

Merge request reports