Raynes / fs

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

expand-home should be consistent in what it returns #87

Closed egli closed 8 years ago

egli commented 10 years ago

Usually if you pass it a path string that starts with ~ it returns a file. However if the path string does not start with ~ it simply returns the string. This change makes the return value consistent: always a file.

egli commented 10 years ago

Not sure though if expand-home should really return a file. Maybe it should always return a string? If you want I can change it either way.