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

Extensions for kotlin.String

toDirectoryEntry

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

Extension function to convert String to a directory entry.

toFileEntry

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

Extension function to convert String to a file entry.