Lumail - The console email client


Lua primitives: file_exists()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

This function tests whether the specified path exists.

For example:

if ( file_exists( "/usr/bin/imapsync" ) ) then
   msg( "We have imapsync installed" )
end

Availability

This function has been available since version 0.08.

See Also

See also executable, is_directory, is_maildir.