I would like to be able to return a directory as a Data object and would like to avoid re-inventing the wheel. FileManager has a method contents() which returns a Data type, but contentsOfDirectory returns a list of urls. (which is kind of inconsistent)
It would be pretty great if I could return a Data object for a directory rather than getting a list of urls or having it fail when attempting to use .contents() on a directory. Anyone know of a way to do this?