readDirectory
abstract fun readDirectory(uri: Uri): PromiseResult<ReadonlyArray<Tuple2<JsString, FileType>>>(source)
Retrieve all entries of a directory.
Parameters
uri
The uri of the folder.
Throws
{@linkcode FileSystemError.FileNotFound FileNotFound} when uri
doesn't exist.