getDirectoryContents package:directory

Similar to listDirectory, but always includes the special entries (. and ..). (This applies to Windows as well.) The operation may fail with the same exceptions as listDirectory.
Similar to listDirectory, but always includes the special entries (. and ..). (This applies to Windows as well.) The operation may fail with the same exceptions as listDirectory.