Project

General

Profile

Actions

Feature #7816

open

Add alternative to file magic

Added by Eric Leblond 23 days ago. Updated 16 days ago.

Status:
In Review
Priority:
Normal
Assignee:
Target version:
Effort:
medium
Difficulty:
medium
Label:

Description

File magic is suffering from multiple issues:
- not predictable: the magic depends of the version
- slow: computing magic on all files for logging is killing performance

Rust has a crate tree magic mini (https://docs.rs/tree_magic_mini/latest/tree_magic_mini/) licensed under MIT if the database file is not embedded. This is really faster than magic and mime type are really more reproducible. Having the mime type as an alternative for magic is thus interesting.

Actions #1

Updated by Eric Leblond 23 days ago

  • Status changed from In Review to In Progress
Actions #2

Updated by Eric Leblond 18 days ago

  • Status changed from In Progress to In Review
Actions #4

Updated by Juliana Fajardini Reichow 16 days ago

  • Target version changed from TBD to 9.0.0-beta1
Actions

Also available in: Atom PDF