Navigation
Synopsis List the entries in a directory.
Function list[str] listEntries(loc file)
Usage import IO;
Description List the entries in directory file.
Examples
rascal>import IO;
ok
List all entries in the standard library:
rascal>listEntries(|std:///|);
|rascal://IO|(7072,344,<272,0>,<288,44>): IO("Unsupported scheme bundleresource")
	at *** somewhere ***(|rascal://IO|(7072,344,<272,0>,<288,44>))
	at listEntries(|stdin:///|(12,9,<1,12>,<1,21>))


Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.