Add support for getting more infomation about a directory.
am: 45ac5fe9a9

Change-Id: I7311b6b6f72a34e45bb575123be35b808ac804dd