readdir

abstract suspend fun readdir(handle: SftpFileHandle): SftpResult<List<SftpDirectoryEntry>?>(source)

Read the next batch of directory entries. Returns SftpResult.Success with entries, or with null at end of directory.