readText
suspend fun <Path, Document> FileSystemProvider.ReadOnly<Path>.readText(path: Path, documentProvider: DocumentProvider<Path, Document>?): String(source)
Reads the entire content of a file as a string.
Return
The file content as a string.
Parameters
path
The file path to read.
documentProvider
document provider to get unsaved text from.
See also
Reads the entire content of a file as a string.
Return
The file content as a string.
Parameters
path
The file path to read.