file_type 1.0.5 copy "file_type: ^1.0.5" to clipboard
file_type: ^1.0.5 copied to clipboard

outdated

Gets the type of a file

file_type #

Checks the type(s) of a file. For example, .circleci.yml is either .yml, or .circleci.yml.

This project has been deprecated because it makes no sense adding a dependency for such a small "feature" (the String.endswith function accomplishes roughly the same things as this package does).