Lumail - The console email client


Lua primitives: is_maildir()

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

This function tests whether the specified path is a Maildir folder.

For example:

if ( is_maildir( os.getenv( "HOME" ) .. "/Maildir" ) ) then
   maildir_prefix( os.getenv( "HOME" ) .. "/Maildir" );
end

Availability

This function has been available since version 0.17.

See Also

See also create_maildir, delete_maildir, executable, file_exists, is_directory, load_directory.