luaposix 35.1 Reference

# 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:

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

  ### Parameters:

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

  ### Returns:

  an iterator

generated by LDoc 1.4.6 Last updated 2021-09-09 17:41:28