getFile

suspend fun DirectoryEntry.getFile(path: String, create: Boolean = true, exclusive: Boolean = false): <Error class: unknown class><FileEntry>

Get or create a file in a given parent directory.

Parameters

path

target file path

create

Used to indicate that the user wants to create a file if it was not previously there.

exclusive

Fail if the target path file already exists.