Closed egrieco closed 7 months ago
I'm getting the following error: 'No MIME magic files found in the XDG default paths'
'No MIME magic files found in the XDG default paths'
While tree_magic searches the following paths:
"/usr/share/mime/magic", "/usr/local/share/mime/magic", "$HOME/.local/share/mime/magic",
On macOS 11.6 (Build 20G165), the files in question are stored at: /usr/share/file/magic
/usr/share/file/magic
The files at /usr/share/file/magic are not in the “Shared MIME-info Database” format expected by this crate.
I'm getting the following error:
'No MIME magic files found in the XDG default paths'
While tree_magic searches the following paths:
On macOS 11.6 (Build 20G165), the files in question are stored at:
/usr/share/file/magic