cfunction
src/core/os.c on line 1921, column 1
(os/dir dir &opt array)
Iterate over files and subdirectories in a directory. Returns an
array of paths parts, with only the file name or directory name and
no prefix.
(os/dir "./") # => @[]
(os/shell "touch foo bar baz") # => nil
(os/dir "./") # => @["foo" "bar" "baz"]