[m-users.] file_exists? directory_exists?

Julien Fischer jfischer at opturion.com
Sat Jun 29 21:02:42 AEST 2019


On Sat, 29 Jun 2019, emacstheviking wrote:

> All I have found is see/seen to see if a file exists. Have I missed something totally obvious ?
> And how about checking the existence of a directory too?

You can use io.file_type/5.  If it returns an ok/1 result then the file
exists and the argument will tell you what it is.


More information about the users mailing list