Initializes the stream used to list all files and directories using the getNext function, closing the currently opened stream if needed. Once the stream has been processed, it should typically be closed with listDirEnd.
If skip_navigational is true, . and .. are filtered out.
If skip_hidden is true, hidden files are filtered out.
Initializes the stream used to list all files and directories using the getNext function, closing the currently opened stream if needed. Once the stream has been processed, it should typically be closed with listDirEnd. If skip_navigational is true, . and .. are filtered out. If skip_hidden is true, hidden files are filtered out.