List the immediate contents of a directory. Returns bare filenames (not full paths), sorted alphabetically. The . and .. entries are never included.
.
..
Path to the directory. ~ is expanded.
~
Sorted array of filenames, or null if the path cannot be read.
null
List the immediate contents of a directory. Returns bare filenames (not full paths), sorted alphabetically. The
.and..entries are never included.