• ReadDir reads the named directory, returning all its directory entries sorted by filename. If an error occurs reading the directory, ReadDir returns the entries it was able to read before the error, along with the error.

    Parameters

    • name: string

    Returns os.DirEntry[]

Generated using TypeDoc