I wrote up a quick patch to os.pmc to add an ls method. Pass it a directory name, and it'll return a resizablestringarray with the contents of the directory. But, I don't know anything about the windows API and can't test it, etc... I don't think there's been any decision yet on the interface for looking in a directory, so I choose an obvious but probably not conflicting name.

Attachment: os_ls.patch
Description: Binary data



Reply via email to