Raynes / fs

File system utilities for Clojure.
453 stars 119 forks source link

Add functionality to query the content type of a path #85

Closed egli closed 8 years ago

egli commented 10 years ago

using probeContentType from java.nio.file.Files

Seems fairly natural to add this functionality.

Tests are added and they pass

Raynes commented 8 years ago

Happy to merge if the conflicts get resolved. It's only been two years. :sob:

Raynes commented 8 years ago

Actually, even fixing the merge conflicts there are known issues with this method returning null on common systems. Gonna close.

egli commented 8 years ago

I'm using com.novemberain/pantomime to determine the mime type of a file now.

Raynes commented 8 years ago

Yeah, this library is maintenance mode. Java 7 and 8 have great stuff.