AJMitev / FileTypeChecker

Cross platform file type validator for .NET
MIT License
139 stars 27 forks source link

File extension cleanup #8

Closed DBMasterC closed 4 years ago

DBMasterC commented 4 years ago

I wanted to use this for a project, and some stuff wasn't super clear to me from the nuget package/documentation. I cleaned up each of the built-in FileType objects to use the public FileExtension consts instead of having the data duplicated (it was important for me to understand how the extensions were used in this project), and updated the documentation on your IsImage and IsArchive extension methods. All of the unit tests still pass, but I didn't change too much.

Thanks for a useful project!

AJMitev commented 4 years ago

Nice job mate! I appreciate your help. It was in my to-do list for a while. I am glad that you like the project.