listDocuments

suspend fun listDocuments(sort: Boolean = true): List<Document>

Lists all documents in the store.

Return

list of all the documents in the store.

Parameters

sort

if true, the returned list is sorted using Document.Comparator.