struct Dir { }An open directory listing.
Methods
Opens 'path' for listing; null if it isn't a readable directory.
Reads the next entry into 'out' (its name is replaced). "." and ".." are skipped. Order is whatever the OS returns. 1 if an entry was read, 0 at the end of the listing.
Closes the listing (the handle is invalid afterwards).
= drop()