Lists the entries in a directory.
Example:
var path = new Path ("/tmp");
var entries = Files.listDir (path);
| path |
path to the directory. |
|
a list of entry names, or null if the path is not a directory. |