In the description it says "If dir is not a directory, returns '()." I'm not sure that shouldn't always be an error, but if we keep it so, what if it's handed a pathname that doesn't match any filesystem object, vs. a file that's not a directory?
- Harold