Module posix.dirent

Directory Iterators.

Functions

dir ([path="."]) Contents of directory.
files ([path="."]) Iterator over all files in named directory.


Functions

dir ([path="."])
Contents of directory.

Parameters:

  • path string directory to act on (default ".")

Returns:

    table contents of path

See also:

files ([path="."])
Iterator over all files in named directory.

Parameters:

  • path string directory to act on (default ".")

Returns:

    an iterator
generated by LDoc 1.5.0 Last updated 2023-06-16 20:19:12