Function Directory.listDirBegin

Initializes the stream used to list all files and directories using the getNext function, closing the current 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.

godot.core.defs.GodotError listDirBegin (
  const(bool) skip_navigational = false,
  const(bool) skip_hidden = false
) nothrow @nogc;