resolveFile

abstract suspend fun resolveFile(dir: KmpFsRef, name: String, create: Boolean = false): Outcome<KmpFsRef, KmpFsError>

Opens or creates a file (if the create option is provided)

Parameters

dir

The directory to open/create the file in

name

The file's name

create

Creates the file if it does not exist