File operations should also work on a directory
Author: andykentCreated Jun 29, 2013Updated Jun 29, 2013
Labelsenhancement
so you should be able to do the following...
remote('/var').exists?
and also you should be able to differentiate between files and dirs...
remote('/var').dir?
remote('/var').file?
Source: andykent/orca