kvision / pl.treksoft.kvision.cordova / kotlin.String

Extensions for kotlin.String

(js)

toDirectoryEntry

Extension function to convert String to a directory entry.

suspend fun String.toDirectoryEntry(): Result<DirectoryEntry, FileException>
(js)

toFileEntry

Extension function to convert String to a file entry.

suspend fun String.toFileEntry(): Result<FileEntry, FileException>