* isAbsolute
* listDirectoryTree
returns an array of the directories under a given
directory, including itself
* list
returns an array of the names of every file or directory
under a given path
http://github.com/kriskowal/narwhal/blob/7eef0ee254993cebd7d8a046a87d547e6217ff52/lib/file.js#L240
It still needs a test suite. I'm probably going to do this by way of
creating a sandbox with a virtual file module implementation so I can
run various scenarios on a consistently reconstructed file system
view, without having to muddy up the disk and leave it in inconsistent
states when tests fail.
This comes out of Tom's and my experiments to assess how much of the
CommonJS specifications can be in pure-JavaScript and thus shared
among CommonJS implementations.
Kris Kowal