tree_magic icon indicating copy to clipboard operation
tree_magic copied to clipboard

Determines the MIME type of a file by traversing a filetype tree.

Results 17 tree_magic issues
Sort by recently updated
recently updated
newest added

Filing this issue mainly for awareness, since it may be important to some users of this crate: This package lists its license as “MIT,” but the database files in the...

![企业微信截图_1630055410725](https://user-images.githubusercontent.com/1732373/131437946-13a26879-bf4c-4324-b66a-8384a828b33a.png) tree_magic return application/octet-stream

I know this library is unmaintained, but opening this for a future maintainer :) this file: [test.tar.zip](https://github.com/aahancoc/tree_magic/files/3293984/test.tar.zip) (zipped to prevent github complaining) file --mime-type application/x-tar tmagic: application/pdf

Fixes #15. Closes #19.

It would be very cool if you would update obsolete nom v2 to latest v4. I tried to do that update myself, but it turned out to be not trivial....

Hello. Sorry for abandoning this project. I mostly made it to learn how to program in Rust, and didn't really expect people to use it. That said I'm glad everyone...

Could you put out a 0.3 release of tree_magic? There's an API fix I'd like to integrate into https://gitlab.gnome.org/GNOME/fractal that's on master, but I'd like to avoid directly fetching from...

I forked `tree_magic` because I'd like to submit a PR that updates its deps, but I don't have confidence I won't break anything because some tests are failing for me...

This file path doesn't seem right: https://github.com/aahancoc/tree_magic/blob/9bc1f46eeda7985aa06ecb1b4f0dc8c306706f8c/src/fdo_magic/sys.rs#L72

It seems **.docx** is missing in mime database. I don't sure this is problem of *treemagic* itself. ``` doc.doc: magic: application/msword treemagic: application/msword doc.odt: magic: application/vnd.oasis.opendocument.text treemagic: application/vnd.oasis.opendocument.text doc.docx: magic:...