bojand / infer

Small crate to infer file and MIME type by checking the magic number signature
MIT License
299 stars 28 forks source link

feat: add get_from_file method #64

Closed tu6ge closed 2 years ago

tu6ge commented 2 years ago

This is get_from_path supplement . some time we want to get file type , the file is opend. so I add this method, It can get type by opend file.

tu6ge commented 2 years ago

I made a mistake