Function readDirectoryDirentsSync

  • Reads a fs.Dirent of all FSO's (files/directories/etc.) in a directory.

    Parameters

    • dirpath: string

      The path of the directory to read.

    Returns fs.Dirent[]

    Remarks

    The fs.Dirent object contains the name of the FSO, and its type (isDirectory, isFile, etc.)

Generated using TypeDoc