read

abstract suspend fun read(): DirectoryEntry?

Read an entry from this directory stream.

The special entries . and .. are not returned by this method.

Return

a directory entry, or {@code null} if this directory stream has reached its end