Closed agarwal closed 8 years ago
Or perhaps we should define exists
and exists_any
. The first one cares about the object type, and the second doesn't.
The function now definitely requires documentation. Once added, I can close this issue.
Done!
Filesys.exists
currently returns`No
if the path exists but as a different type of object, e.g:The latter is misleading. One is likely to think the path doesn't exist at all. We should probably include an additional return type:
`Yes_as_other_object
to mean the path does exist but not as the type of object you were checking for.