![]() |
|
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>))
![]() |