Class Dir
Provides access to paths in a directory.
Instances of this class are created when fs.read_dir is successful.
public define each_entry(value: A, fn: Function(DirEntry, A)): A
For each entry in the directory, execute fn with value as the second argument.
"." and ".." are not included.
This method can only be called once on a Dir. Subsequent attempts to use this method will immediately return, even if there are more results.
The result of this method is always value, for chaining.